From: Dmitry Torokhov Date: Sun, 4 Mar 2012 17:26:13 +0000 (-0800) Subject: Input: atmel-wm97xx - set driver owner X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0c0c440f4d2dcfd7913eb77c43aa292b1b5b8130;p=linux-beck.git Input: atmel-wm97xx - set driver owner This allows creating proper sysfs link between driver and its module. Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/touchscreen/atmel-wm97xx.c b/drivers/input/touchscreen/atmel-wm97xx.c index d016cb26d125..746bf77d7856 100644 --- a/drivers/input/touchscreen/atmel-wm97xx.c +++ b/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,