summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Stevenson <dave.stevenson@raspberrypi.com>2022-11-28 16:22:48 +0000
committerMauro Carvalho Chehab <mchehab@kernel.org>2022-12-06 07:24:47 +0000
commit483c84bf50e7ec0fc2887f35b76c8cc57ba81574 (patch)
treebe19673094a123713f654f4addbcb81aef8d4862
parentf9c77fea1270d34dda13aeaa4488bab710097bb7 (diff)
downloadlinux-483c84bf50e7ec0fc2887f35b76c8cc57ba81574.tar.bz2
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 <dave.stevenson@raspberrypi.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
-rw-r--r--drivers/media/i2c/ov9282.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/i2c/ov9282.c b/drivers/media/i2c/ov9282.c
index 7b1270df4263..3749501c3104 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,
};