aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/gspca')
-rw-r--r--drivers/media/video/gspca/gspca.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/gspca.c b/drivers/media/video/gspca/gspca.c
index ecf449be189e..afd99beab30d 100644
--- a/drivers/media/video/gspca/gspca.c
+++ b/drivers/media/video/gspca/gspca.c
@@ -1619,7 +1619,7 @@ static int dev_mmap(struct file *file, struct vm_area_struct *vma)
1619 size -= PAGE_SIZE; 1619 size -= PAGE_SIZE;
1620 } 1620 }
1621 1621
1622 vma->vm_ops = &gspca_vm_ops; 1622 vma->vm_ops = (struct vm_operations_struct *) &gspca_vm_ops;
1623 vma->vm_private_data = frame; 1623 vma->vm_private_data = frame;
1624 gspca_vm_open(vma); 1624 gspca_vm_open(vma);
1625 ret = 0; 1625 ret = 0;