media: i2c: ov9282: Make common_regs_list static
common_regs_list is only used within this file, so should
be static. Make it so.
Fixes: 7195aabf8f ("media: i2c: ov9282: Split registers into common and mode specific")
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
f9c77fea12
commit
483c84bf50
@@ -268,7 +268,7 @@ static const struct ov9282_reg common_regs[] = {
|
||||
{0x5a08, 0x84},
|
||||
};
|
||||
|
||||
struct ov9282_reg_list common_regs_list = {
|
||||
static struct ov9282_reg_list common_regs_list = {
|
||||
.num_of_regs = ARRAY_SIZE(common_regs),
|
||||
.regs = common_regs,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user