From: Dave Stevenson Date: Mon, 28 Nov 2022 16:22:48 +0000 (+0000) Subject: media: i2c: ov9282: Make common_regs_list static X-Git-Tag: v6.2-rc1~125^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=483c84bf50e7ec0fc2887f35b76c8cc57ba81574;p=thirdparty%2Fkernel%2Flinux.git 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: 7195aabf8f8b ("media: i2c: ov9282: Split registers into common and mode specific") Signed-off-by: Dave Stevenson Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/i2c/ov9282.c b/drivers/media/i2c/ov9282.c index 7b1270df42630..3749501c31040 100644 --- a/drivers/media/i2c/ov9282.c +++ b/drivers/media/i2c/ov9282.c @@ -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, };