Skip to content

Commit 25ec15a

Browse files
Thomas Zimmermannhdeller
authored andcommitted
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 <[email protected]> Signed-off-by: Helge Deller <[email protected]>
1 parent 55caa9a commit 25ec15a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/video/fbdev/ps3fb.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -936,6 +936,7 @@ static irqreturn_t ps3fb_vsync_interrupt(int irq, void *ptr)
936936

937937

938938
static const struct fb_ops ps3fb_ops = {
939+
.owner = THIS_MODULE,
939940
.fb_open = ps3fb_open,
940941
.fb_release = ps3fb_release,
941942
.fb_read = fb_sys_read,

0 commit comments

Comments
 (0)