]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
V4L/DVB (13387): gspca - main: Fix a compilation warning.
authorJean-Francois Moine <moinejf@free.fr>
Sat, 7 Nov 2009 19:38:55 +0000 (16:38 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 5 Dec 2009 20:41:39 +0000 (18:41 -0200)
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/gspca.c

index ecf449be189e80ad76298871135887568054e0d1..afd99beab30d3daa401b7d60ad4707c4d9b0988a 100644 (file)
@@ -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;