diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-03-04 09:26:13 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-03-04 10:50:24 -0800 |
commit | 0c0c440f4d2dcfd7913eb77c43aa292b1b5b8130 (patch) | |
tree | b9bca5189f1ea33271515a3e11a58fab1e87b920 /drivers/input/touchscreen/atmel-wm97xx.c | |
parent | e3ae3525250b01560b31fb627e17ae9c6c359232 (diff) | |
download | talos-obmc-linux-0c0c440f4d2dcfd7913eb77c43aa292b1b5b8130.tar.gz talos-obmc-linux-0c0c440f4d2dcfd7913eb77c43aa292b1b5b8130.zip |
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>
Diffstat (limited to 'drivers/input/touchscreen/atmel-wm97xx.c')
-rw-r--r-- | drivers/input/touchscreen/atmel-wm97xx.c | 3 |
1 files changed, 2 insertions, 1 deletions
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, |