aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2009-11-07 14:38:55 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-12-05 15:41:39 -0500
commitb760812ed78c93249ac7957fedb87ba9c3ca3906 (patch)
treed3e9618d265a6a238c2bcb4e5bb5e348697a80c1 /drivers/media/video/gspca
parent77ee33184fb4a37926c460d337c8d181f7c4c680 (diff)
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>
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;