mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 05:48:40 +00: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
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue