diff options
Diffstat (limited to 'drivers/media/video/bw-qcam.c')
-rw-r--r-- | drivers/media/video/bw-qcam.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/bw-qcam.c b/drivers/media/video/bw-qcam.c index 0b02be57b99c..10dbd4a11b30 100644 --- a/drivers/media/video/bw-qcam.c +++ b/drivers/media/video/bw-qcam.c | |||
@@ -706,7 +706,7 @@ static long qc_capture(struct qcam_device * q, char __user *buf, unsigned long l | |||
706 | * Video4linux interfacing | 706 | * Video4linux interfacing |
707 | */ | 707 | */ |
708 | 708 | ||
709 | static int qcam_do_ioctl(struct file *file, unsigned int cmd, void *arg) | 709 | static long qcam_do_ioctl(struct file *file, unsigned int cmd, void *arg) |
710 | { | 710 | { |
711 | struct video_device *dev = video_devdata(file); | 711 | struct video_device *dev = video_devdata(file); |
712 | struct qcam_device *qcam=(struct qcam_device *)dev; | 712 | struct qcam_device *qcam=(struct qcam_device *)dev; |
@@ -863,7 +863,7 @@ static int qcam_do_ioctl(struct file *file, unsigned int cmd, void *arg) | |||
863 | return 0; | 863 | return 0; |
864 | } | 864 | } |
865 | 865 | ||
866 | static int qcam_ioctl(struct file *file, | 866 | static long qcam_ioctl(struct file *file, |
867 | unsigned int cmd, unsigned long arg) | 867 | unsigned int cmd, unsigned long arg) |
868 | { | 868 | { |
869 | return video_usercopy(file, cmd, arg, qcam_do_ioctl); | 869 | return video_usercopy(file, cmd, arg, qcam_do_ioctl); |