V4L/DVB (10138): v4l2-ioctl: change to long return type to match unlocked_ioctl.
[deliverable/linux.git] / drivers / media / video / cpia2 / cpia2_v4l.c
index 91870cc9c4452f216fa1e60105d7317c646c0e4d..9c25894fdd8e7b19050ae7c3e58d67d45c5b11d7 100644 (file)
@@ -1572,10 +1572,10 @@ static int ioctl_dqbuf(void *arg,struct camera_data *cam, struct file *file)
  *  cpia2_ioctl
  *
  *****************************************************************************/
-static int cpia2_do_ioctl(struct file *file, unsigned int cmd, void *arg)
+static long cpia2_do_ioctl(struct file *file, unsigned int cmd, void *arg)
 {
        struct camera_data *cam = video_drvdata(file);
-       int retval = 0;
+       long retval = 0;
 
        if (!cam)
                return -ENOTTY;
@@ -1841,7 +1841,7 @@ static int cpia2_do_ioctl(struct file *file, unsigned int cmd, void *arg)
        return retval;
 }
 
-static int cpia2_ioctl(struct file *file,
+static long cpia2_ioctl(struct file *file,
                       unsigned int cmd, unsigned long arg)
 {
        return video_usercopy(file, cmd, arg, cpia2_do_ioctl);
This page took 0.024057 seconds and 5 git commands to generate.