projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77ee331
)
V4L/DVB (13387): gspca - main: Fix a compilation warning.
author
Jean-Francois Moine
<moinejf@free.fr>
Sat, 7 Nov 2009 19:38:55 +0000
(16:38 -0300)
committer
Mauro 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
patch
|
blob
|
history
diff --git
a/drivers/media/video/gspca/gspca.c
b/drivers/media/video/gspca/gspca.c
index ecf449be189e80ad76298871135887568054e0d1..afd99beab30d3daa401b7d60ad4707c4d9b0988a 100644
(file)
--- 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)
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;