mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 01:10:04 +00:00
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:
parent
f9c77fea12
commit
483c84bf50
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue