Skip to content

Commit 55caa9a

Browse files
Thomas Zimmermannhdeller
authored andcommitted
fbdev: 68328fb: 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 b3a7a9a commit 55caa9a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/video/fbdev/68328fb.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ static int mc68x328fb_pan_display(struct fb_var_screeninfo *var,
9494
static int mc68x328fb_mmap(struct fb_info *info, struct vm_area_struct *vma);
9595

9696
static const struct fb_ops mc68x328fb_ops = {
97+
.owner = THIS_MODULE,
9798
.fb_check_var = mc68x328fb_check_var,
9899
.fb_set_par = mc68x328fb_set_par,
99100
.fb_setcolreg = mc68x328fb_setcolreg,

0 commit comments

Comments
 (0)