diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2023-04-24 11:58:24 +0300 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2023-04-24 12:48:33 +0300 |
commit | 25ec15abb06194963157fe42d41368b19a0d0d74 (patch) | |
tree | 6abe942451e6eaf6505a3c91eba44f6046205d50 /drivers/video/fbdev | |
parent | 55caa9a7aca0e7685ebb9f5082156e89cae36c4a (diff) | |
download | linux-25ec15abb06194963157fe42d41368b19a0d0d74.tar.xz |
fbdev: ps3fb: Init owner field of struct fb_ops
Initialize the owner field of struct fb_ops. Required to prevent
module unloading while the driver is in use.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'drivers/video/fbdev')
-rw-r--r-- | drivers/video/fbdev/ps3fb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/fbdev/ps3fb.c b/drivers/video/fbdev/ps3fb.c index 2fe08b67eda7..98aaa330a193 100644 --- a/drivers/video/fbdev/ps3fb.c +++ b/drivers/video/fbdev/ps3fb.c @@ -936,6 +936,7 @@ static irqreturn_t ps3fb_vsync_interrupt(int irq, void *ptr) static const struct fb_ops ps3fb_ops = { + .owner = THIS_MODULE, .fb_open = ps3fb_open, .fb_release = ps3fb_release, .fb_read = fb_sys_read, |