aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2012-10-05 05:20:07 -0400
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2012-10-09 22:06:51 -0400
commit4a0ea00798a5b4b32e1167d09a84df793d518576 (patch)
tree69795bb1fbdad351fb026119ec3e3236c2af25af /drivers
parent37414fbe5abbd2c09d9a447010406b3781549094 (diff)
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/mx3fb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/video/mx3fb.c b/drivers/video/mx3fb.c
index c89f8a8d36d2..c63ddb11e050 100644
--- a/drivers/video/mx3fb.c
+++ b/drivers/video/mx3fb.c
@@ -1568,7 +1568,8 @@ static int mx3fb_remove(struct platform_device *dev)
1568 1568
1569static struct platform_driver mx3fb_driver = { 1569static struct platform_driver mx3fb_driver = {
1570 .driver = { 1570 .driver = {
1571 .name = MX3FB_NAME, 1571 .name = MX3FB_NAME,
1572 .owner = THIS_MODULE,
1572 }, 1573 },
1573 .probe = mx3fb_probe, 1574 .probe = mx3fb_probe,
1574 .remove = mx3fb_remove, 1575 .remove = mx3fb_remove,