mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-18 01:34:14 +08:00
V4L/DVB (13387): gspca - main: Fix a compilation warning.
Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
77ee33184f
commit
b760812ed7
@ -1619,7 +1619,7 @@ static int dev_mmap(struct file *file, struct vm_area_struct *vma)
|
||||
size -= PAGE_SIZE;
|
||||
}
|
||||
|
||||
vma->vm_ops = &gspca_vm_ops;
|
||||
vma->vm_ops = (struct vm_operations_struct *) &gspca_vm_ops;
|
||||
vma->vm_private_data = frame;
|
||||
gspca_vm_open(vma);
|
||||
ret = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user