mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
V4L/DVB (10110): v4l2-ioctl: Fix warnings when using .unlocked_ioctl = __video_ioctl2
This patch fixes this warning: drivers/media/video/gspca/gspca.c:1811: warning: initialization from incompatible pointer type The reason is that the returned argument should be a long, not an integer. Signed-off-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
parent
902571aaa9
commit
92ab788611
2 changed files with 2 additions and 2 deletions
|
|
@ -297,7 +297,7 @@ extern int video_usercopy(struct file *file, unsigned int cmd,
|
|||
/* Standard handlers for V4L ioctl's */
|
||||
|
||||
/* This prototype is used on fops.unlocked_ioctl */
|
||||
extern int __video_ioctl2(struct file *file,
|
||||
extern long __video_ioctl2(struct file *file,
|
||||
unsigned int cmd, unsigned long arg);
|
||||
|
||||
/* This prototype is used on fops.ioctl
|
||||
|
|
|
|||
Loading…
Reference in a new issue