diff options
-rw-r--r-- | drivers/media/video/v4l2-ioctl.c | 2 | ||||
-rw-r--r-- | include/media/v4l2-ioctl.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/v4l2-ioctl.c b/drivers/media/video/v4l2-ioctl.c index bef4286933a1..b063381f4b3b 100644 --- a/drivers/media/video/v4l2-ioctl.c +++ b/drivers/media/video/v4l2-ioctl.c | |||
@@ -1852,7 +1852,7 @@ static int __video_do_ioctl(struct file *file, | |||
1852 | return ret; | 1852 | return ret; |
1853 | } | 1853 | } |
1854 | 1854 | ||
1855 | int __video_ioctl2(struct file *file, | 1855 | long __video_ioctl2(struct file *file, |
1856 | unsigned int cmd, unsigned long arg) | 1856 | unsigned int cmd, unsigned long arg) |
1857 | { | 1857 | { |
1858 | char sbuf[128]; | 1858 | char sbuf[128]; |
diff --git a/include/media/v4l2-ioctl.h b/include/media/v4l2-ioctl.h index c884432f9383..fcdb58c4ce07 100644 --- a/include/media/v4l2-ioctl.h +++ b/include/media/v4l2-ioctl.h | |||
@@ -297,7 +297,7 @@ extern int video_usercopy(struct file *file, unsigned int cmd, | |||
297 | /* Standard handlers for V4L ioctl's */ | 297 | /* Standard handlers for V4L ioctl's */ |
298 | 298 | ||
299 | /* This prototype is used on fops.unlocked_ioctl */ | 299 | /* This prototype is used on fops.unlocked_ioctl */ |
300 | extern int __video_ioctl2(struct file *file, | 300 | extern long __video_ioctl2(struct file *file, |
301 | unsigned int cmd, unsigned long arg); | 301 | unsigned int cmd, unsigned long arg); |
302 | 302 | ||
303 | /* This prototype is used on fops.ioctl | 303 | /* This prototype is used on fops.ioctl |