Skip to content

Commit

Permalink
Input: atmel-wm97xx - set driver owner
Browse files Browse the repository at this point in the history
This allows creating proper sysfs link between driver and its module.

Signed-off-by: Dmitry Torokhov <[email protected]>
  • Loading branch information
dtor committed Mar 4, 2012
1 parent e3ae352 commit 0c0c440
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/input/touchscreen/atmel-wm97xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,8 @@ static int atmel_wm97xx_resume(struct platform_device *pdev)
static struct platform_driver atmel_wm97xx_driver = {
.remove = __exit_p(atmel_wm97xx_remove),
.driver = {
.name = "wm97xx-touch",
.name = "wm97xx-touch",
.owner = THIS_MODULE,
},
.suspend = atmel_wm97xx_suspend,
.resume = atmel_wm97xx_resume,
Expand Down

0 comments on commit 0c0c440

Please sign in to comment.