diff options
Diffstat (limited to 'drivers/media/video/w9966.c')
-rw-r--r-- | drivers/media/video/w9966.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/media/video/w9966.c b/drivers/media/video/w9966.c index b2dbe48a92bb..56c570c267ea 100644 --- a/drivers/media/video/w9966.c +++ b/drivers/media/video/w9966.c | |||
@@ -727,8 +727,7 @@ static int w9966_wReg_i2c(struct w9966_dev* cam, int reg, int data) | |||
727 | * Video4linux interfacing | 727 | * Video4linux interfacing |
728 | */ | 728 | */ |
729 | 729 | ||
730 | static int w9966_v4l_do_ioctl(struct inode *inode, struct file *file, | 730 | static int w9966_v4l_do_ioctl(struct file *file, unsigned int cmd, void *arg) |
731 | unsigned int cmd, void *arg) | ||
732 | { | 731 | { |
733 | struct w9966_dev *cam = video_drvdata(file); | 732 | struct w9966_dev *cam = video_drvdata(file); |
734 | 733 | ||
@@ -881,7 +880,7 @@ static int w9966_v4l_do_ioctl(struct inode *inode, struct file *file, | |||
881 | static int w9966_v4l_ioctl(struct inode *inode, struct file *file, | 880 | static int w9966_v4l_ioctl(struct inode *inode, struct file *file, |
882 | unsigned int cmd, unsigned long arg) | 881 | unsigned int cmd, unsigned long arg) |
883 | { | 882 | { |
884 | return video_usercopy(inode, file, cmd, arg, w9966_v4l_do_ioctl); | 883 | return video_usercopy(file, cmd, arg, w9966_v4l_do_ioctl); |
885 | } | 884 | } |
886 | 885 | ||
887 | // Capture data | 886 | // Capture data |