video/mx3fb: set .owner to prevent module unloading while being used
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Fri, 5 Oct 2012 09:20:07 +0000 (11:20 +0200)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Wed, 10 Oct 2012 02:06:51 +0000 (02:06 +0000)
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
drivers/video/mx3fb.c

index c89f8a8..c63ddb1 100644 (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,