Pārlūkot izejas kodu

Input: atmel-wm97xx - set driver owner

This allows creating proper sysfs link between driver and its module.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Dmitry Torokhov 13 gadi atpakaļ
vecāks
revīzija
0c0c440f4d
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 2 1
      drivers/input/touchscreen/atmel-wm97xx.c

+ 2 - 1
drivers/input/touchscreen/atmel-wm97xx.c

@@ -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,