fbdev: vfb: 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>
This commit is contained in:
parent
25ec15abb0
commit
b04ab8c13a
|
@ -79,6 +79,7 @@ static int vfb_mmap(struct fb_info *info,
|
|||
struct vm_area_struct *vma);
|
||||
|
||||
static const struct fb_ops vfb_ops = {
|
||||
.owner = THIS_MODULE,
|
||||
.fb_read = fb_sys_read,
|
||||
.fb_write = fb_sys_write,
|
||||
.fb_check_var = vfb_check_var,
|
||||
|
|
Loading…
Reference in New Issue