projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55caa9a
)
fbdev: ps3fb: Init owner field of struct fb_ops
author
Thomas Zimmermann
<tzimmermann@suse.de>
Mon, 24 Apr 2023 08:58:24 +0000
(10:58 +0200)
committer
Helge Deller
<deller@gmx.de>
Mon, 24 Apr 2023 09:48:33 +0000
(11:48 +0200)
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>
drivers/video/fbdev/ps3fb.c
patch
|
blob
|
history
diff --git
a/drivers/video/fbdev/ps3fb.c
b/drivers/video/fbdev/ps3fb.c
index 2fe08b67eda7138550a9246bcaa6583b34dafc7d..98aaa330a193dcc318aab6510416c2147361630c 100644
(file)
--- 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,