V4L/DVB (10138): v4l2-ioctl: change to long return type to match unlocked_ioctl.
[firefly-linux-kernel-4.4.55.git] / drivers / media / video / msp3400-driver.c
index 79ae7bd2352858021eed26192c32a83f50d3da8e..b8577ade405071c93a2bbc2f2e166e9521e53f33 100644 (file)
@@ -483,7 +483,7 @@ static int msp_s_ctrl(struct v4l2_subdev *sd, struct v4l2_control *ctrl)
 }
 
 #ifdef CONFIG_VIDEO_ALLOW_V4L1
-static int msp_ioctl(struct v4l2_subdev *sd, int cmd, void *arg)
+static long msp_ioctl(struct v4l2_subdev *sd, unsigned int cmd, void *arg)
 {
        struct msp_state *state = to_state(sd);
        struct i2c_client *client = v4l2_get_subdevdata(sd);