[media] v4l2: add const to argument of write-only s_register ioctl
[firefly-linux-kernel-4.4.55.git] / drivers / media / i2c / soc_camera / mt9v022.c
index 53eaf899d3b6d4b81123dac5701b61b2a8c866ba..a295e598486f71f40b57b77aaf98ebd7d7941501 100644 (file)
@@ -497,7 +497,7 @@ static int mt9v022_g_register(struct v4l2_subdev *sd,
 }
 
 static int mt9v022_s_register(struct v4l2_subdev *sd,
-                             struct v4l2_dbg_register *reg)
+                             const struct v4l2_dbg_register *reg)
 {
        struct i2c_client *client = v4l2_get_subdevdata(sd);