]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
Input: atmel-wm97xx - set driver owner
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 4 Mar 2012 17:26:13 +0000 (09:26 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 4 Mar 2012 18:50:24 +0000 (10:50 -0800)
This allows creating proper sysfs link between driver and its module.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/atmel-wm97xx.c

index d016cb26d12523f6eb24214aa10a7e1f70a286ee..746bf77d7856fd41500d81bd92f90a4d7a0352d4 100644 (file)
@@ -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,