mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-03-21 23:12:32 -04:00
media: ov5647: Constify oe_enable/disable reglist
Make the two register-value lists const. Signed-off-by: Jacopo Mondi <jacopo@jmondi.org> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
4eec1919c9
commit
d07440702d
@@ -121,13 +121,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},
|
||||
|
||||
Reference in New Issue
Block a user