Message ID | 20201104104238.596373-1-jacopo@jmondi.org |
---|---|
State | Superseded |
Headers | show |
Series | media: ov5647: Support RaspberryPi Camera Module v1 | expand |
diff --git a/drivers/media/i2c/ov5647.c b/drivers/media/i2c/ov5647.c index a89617c113943..eb6e06a013057 100644 --- a/drivers/media/i2c/ov5647.c +++ b/drivers/media/i2c/ov5647.c @@ -122,13 +122,13 @@ static inline struct ov5647 *to_sensor(struct v4l2_subdev *sd) return container_of(sd, struct ov5647, sd); } -static struct regval_list sensor_oe_disable_regs[] = { +static const struct regval_list sensor_oe_disable_regs[] = { {0x3000, 0x00}, {0x3001, 0x00}, {0x3002, 0x00}, }; -static struct regval_list sensor_oe_enable_regs[] = { +static const struct regval_list sensor_oe_enable_regs[] = { {0x3000, 0x0f}, {0x3001, 0xff}, {0x3002, 0xe4},
Make the two register-value lists const. Signed-off-by: Jacopo Mondi <jacopo@jmondi.org> --- drivers/media/i2c/ov5647.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)