V4L/DVB (10138): v4l2-ioctl: change to long return type to match unlocked_ioctl.
[firefly-linux-kernel-4.4.55.git] / drivers / media / video / se401.c
index 5b27f323272f7f2567762f810ea4d072946686e9..5990ab38a1249146a8ebdff9b2b1c8be02b58a8e 100644 (file)
@@ -975,7 +975,7 @@ static int se401_close(struct file *file)
        return 0;
 }
 
-static int se401_do_ioctl(struct file *file, unsigned int cmd, void *arg)
+static long se401_do_ioctl(struct file *file, unsigned int cmd, void *arg)
 {
        struct video_device *vdev = file->private_data;
        struct usb_se401 *se401 = (struct usb_se401 *)vdev;
@@ -1138,7 +1138,7 @@ static int se401_do_ioctl(struct file *file, unsigned int cmd, void *arg)
        return 0;
 }
 
-static int se401_ioctl(struct file *file,
+static long se401_ioctl(struct file *file,
                       unsigned int cmd, unsigned long arg)
 {
        return video_usercopy(file, cmd, arg, se401_do_ioctl);