Skip to content

Commit 483c84b

Browse files
6by9mchehab
authored andcommitted
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: 7195aab ("media: i2c: ov9282: Split registers into common and mode specific") Signed-off-by: Dave Stevenson <[email protected]> Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent f9c77fe commit 483c84b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/media/i2c/ov9282.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ static const struct ov9282_reg common_regs[] = {
268268
{0x5a08, 0x84},
269269
};
270270

271-
struct ov9282_reg_list common_regs_list = {
271+
static struct ov9282_reg_list common_regs_list = {
272272
.num_of_regs = ARRAY_SIZE(common_regs),
273273
.regs = common_regs,
274274
};

0 commit comments

Comments
 (0)