summaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c/cs5345.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/i2c/cs5345.c')
-rw-r--r--drivers/media/i2c/cs5345.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/i2c/cs5345.c b/drivers/media/i2c/cs5345.c
index c8581e26fa9..1d2f7c8512b 100644
--- a/drivers/media/i2c/cs5345.c
+++ b/drivers/media/i2c/cs5345.c
@@ -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);