mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 00:40:56 +07:00
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:
parent
37414fbe5a
commit
4a0ea00798
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user