diff options
Diffstat (limited to 'drivers/media/video/w9966.c')
-rw-r--r-- | drivers/media/video/w9966.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/w9966.c b/drivers/media/video/w9966.c index 91500f57442a..038ff32b01b8 100644 --- a/drivers/media/video/w9966.c +++ b/drivers/media/video/w9966.c | |||
@@ -180,7 +180,7 @@ static int w9966_i2c_wbyte(struct w9966_dev* cam, int data); | |||
180 | static int w9966_i2c_rbyte(struct w9966_dev* cam); | 180 | static int w9966_i2c_rbyte(struct w9966_dev* cam); |
181 | #endif | 181 | #endif |
182 | 182 | ||
183 | static int w9966_v4l_ioctl(struct file *file, | 183 | static long w9966_v4l_ioctl(struct file *file, |
184 | unsigned int cmd, unsigned long arg); | 184 | unsigned int cmd, unsigned long arg); |
185 | static ssize_t w9966_v4l_read(struct file *file, char __user *buf, | 185 | static ssize_t w9966_v4l_read(struct file *file, char __user *buf, |
186 | size_t count, loff_t *ppos); | 186 | size_t count, loff_t *ppos); |
@@ -723,7 +723,7 @@ static int w9966_wReg_i2c(struct w9966_dev* cam, int reg, int data) | |||
723 | * Video4linux interfacing | 723 | * Video4linux interfacing |
724 | */ | 724 | */ |
725 | 725 | ||
726 | static int w9966_v4l_do_ioctl(struct file *file, unsigned int cmd, void *arg) | 726 | static long w9966_v4l_do_ioctl(struct file *file, unsigned int cmd, void *arg) |
727 | { | 727 | { |
728 | struct w9966_dev *cam = video_drvdata(file); | 728 | struct w9966_dev *cam = video_drvdata(file); |
729 | 729 | ||
@@ -873,7 +873,7 @@ static int w9966_v4l_do_ioctl(struct file *file, unsigned int cmd, void *arg) | |||
873 | return 0; | 873 | return 0; |
874 | } | 874 | } |
875 | 875 | ||
876 | static int w9966_v4l_ioctl(struct file *file, | 876 | static long w9966_v4l_ioctl(struct file *file, |
877 | unsigned int cmd, unsigned long arg) | 877 | unsigned int cmd, unsigned long arg) |
878 | { | 878 | { |
879 | return video_usercopy(file, cmd, arg, w9966_v4l_do_ioctl); | 879 | return video_usercopy(file, cmd, arg, w9966_v4l_do_ioctl); |