[media] v4l2: add const to argument of write-only s_register ioctl
[deliverable/linux.git] / drivers / media / i2c / ad9389b.c
index c2886b6a727d66528fe9d1e724e8fc4d632faa02..58344b6c3a55ea19823553154d5c59294b268865 100644 (file)
@@ -354,7 +354,7 @@ static int ad9389b_g_register(struct v4l2_subdev *sd, struct v4l2_dbg_register *
        return 0;
 }
 
-static int ad9389b_s_register(struct v4l2_subdev *sd, struct v4l2_dbg_register *reg)
+static int ad9389b_s_register(struct v4l2_subdev *sd, const struct v4l2_dbg_register *reg)
 {
        struct i2c_client *client = v4l2_get_subdevdata(sd);
 
This page took 0.033833 seconds and 5 git commands to generate.