aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c/upd64031a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/i2c/upd64031a.c')
-rw-r--r--drivers/media/i2c/upd64031a.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/i2c/upd64031a.c b/drivers/media/i2c/upd64031a.c
index 1e7446542091..f0a09214c519 100644
--- a/drivers/media/i2c/upd64031a.c
+++ b/drivers/media/i2c/upd64031a.c
@@ -111,7 +111,7 @@ static void upd64031a_write(struct v4l2_subdev *sd, u8 reg, u8 val)
111/* ------------------------------------------------------------------------ */ 111/* ------------------------------------------------------------------------ */
112 112
113/* The input changed due to new input or channel changed */ 113/* The input changed due to new input or channel changed */
114static int upd64031a_s_frequency(struct v4l2_subdev *sd, struct v4l2_frequency *freq) 114static int upd64031a_s_frequency(struct v4l2_subdev *sd, const struct v4l2_frequency *freq)
115{ 115{
116 struct upd64031a_state *state = to_state(sd); 116 struct upd64031a_state *state = to_state(sd);
117 u8 reg = state->regs[R00]; 117 u8 reg = state->regs[R00];
@@ -175,7 +175,7 @@ static int upd64031a_g_register(struct v4l2_subdev *sd, struct v4l2_dbg_register
175 return 0; 175 return 0;
176} 176}
177 177
178static int upd64031a_s_register(struct v4l2_subdev *sd, struct v4l2_dbg_register *reg) 178static int upd64031a_s_register(struct v4l2_subdev *sd, const struct v4l2_dbg_register *reg)
179{ 179{
180 struct i2c_client *client = v4l2_get_subdevdata(sd); 180 struct i2c_client *client = v4l2_get_subdevdata(sd);
181 181