mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
video/mx3fb: set .owner to prevent module unloading while being used
Signed-off-by: Uwe Kleine-König <[email protected]> Signed-off-by: Florian Tobias Schandinat <[email protected]>
This commit is contained in:
1 parent
37414fbe5a
commit
4a0ea00798
1 file changed
+1
@@ -1569,6 +1569,7 @@ static int mx3fb_remove(struct platform_device *dev)
|
||||
static struct platform_driver mx3fb_driver = {
|
||||
.driver = {
|
||||
.name = MX3FB_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = mx3fb_probe,
|
||||
.remove = mx3fb_remove,
|
||||
|
||||
Reference in new issue
Block a user