dect
/
linux-2.6
Archived
13
0
Fork 0

video/mx3fb: set .owner to prevent module unloading while being used

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
This commit is contained in:
Uwe Kleine-König 2012-10-05 11:20:07 +02:00 committed by Florian Tobias Schandinat
parent 37414fbe5a
commit 4a0ea00798
1 changed files with 2 additions and 1 deletions

View File

@ -1568,7 +1568,8 @@ static int mx3fb_remove(struct platform_device *dev)
static struct platform_driver mx3fb_driver = {
.driver = {
.name = MX3FB_NAME,
.name = MX3FB_NAME,
.owner = THIS_MODULE,
},
.probe = mx3fb_probe,
.remove = mx3fb_remove,