summaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c/upd64083.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/i2c/upd64083.c')
-rw-r--r--drivers/media/i2c/upd64083.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/i2c/upd64083.c b/drivers/media/i2c/upd64083.c
index 75d6acc62018..343e0215f74c 100644
--- a/drivers/media/i2c/upd64083.c
+++ b/drivers/media/i2c/upd64083.c
@@ -133,7 +133,7 @@ static int upd64083_g_register(struct v4l2_subdev *sd, struct v4l2_dbg_register
return 0;
}
-static int upd64083_s_register(struct v4l2_subdev *sd, struct v4l2_dbg_register *reg)
+static int upd64083_s_register(struct v4l2_subdev *sd, const struct v4l2_dbg_register *reg)
{
struct i2c_client *client = v4l2_get_subdevdata(sd);
OpenPOWER on IntegriCloud