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>
This commit is contained in:
Dmitry Torokhov 2012-03-04 09:26:13 -08:00
parent e3ae352525
commit 0c0c440f4d
1 changed files with 2 additions and 1 deletions

View File

@ -424,7 +424,8 @@ static int atmel_wm97xx_resume(struct platform_device *pdev)
static struct platform_driver atmel_wm97xx_driver = { static struct platform_driver atmel_wm97xx_driver = {
.remove = __exit_p(atmel_wm97xx_remove), .remove = __exit_p(atmel_wm97xx_remove),
.driver = { .driver = {
.name = "wm97xx-touch", .name = "wm97xx-touch",
.owner = THIS_MODULE,
}, },
.suspend = atmel_wm97xx_suspend, .suspend = atmel_wm97xx_suspend,
.resume = atmel_wm97xx_resume, .resume = atmel_wm97xx_resume,