[media] v4l2: add const to argument of write-only s_register ioctl
[deliverable/linux.git] / drivers / media / i2c / cs5345.c
index c8581e26fa9c591bb7c2a2e6cd0683fe4d88821c..1d2f7c8512b5d7b070abb546d44aec627b5b923c 100644 (file)
@@ -110,7 +110,7 @@ static int cs5345_g_register(struct v4l2_subdev *sd, struct v4l2_dbg_register *r
        return 0;
 }
 
-static int cs5345_s_register(struct v4l2_subdev *sd, struct v4l2_dbg_register *reg)
+static int cs5345_s_register(struct v4l2_subdev *sd, const struct v4l2_dbg_register *reg)
 {
        struct i2c_client *client = v4l2_get_subdevdata(sd);
 
This page took 0.043561 seconds and 5 git commands to generate.