Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Dave Stevenson and committed by
Mauro Carvalho Chehab
483c84bf f9c77fea

+1 -1
+1 -1
drivers/media/i2c/ov9282.c
··· 268 268 {0x5a08, 0x84}, 269 269 }; 270 270 271 - struct ov9282_reg_list common_regs_list = { 271 + static struct ov9282_reg_list common_regs_list = { 272 272 .num_of_regs = ARRAY_SIZE(common_regs), 273 273 .regs = common_regs, 274 274 };