mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-29 23:53:32 +00:00
media: cafe-driver: mark an static var as such
As warned by sparse: drivers/media/platform/marvell-ccic/cafe-driver.c:475:23: warning: symbol 'ov7670_info' was not declared. Should it be static? Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
This commit is contained in:
parent
d677a6cf70
commit
932952e525
1 changed files with 1 additions and 1 deletions
|
@ -472,7 +472,7 @@ static struct ov7670_config sensor_cfg = {
|
|||
.use_smbus = 1,
|
||||
};
|
||||
|
||||
struct i2c_board_info ov7670_info = {
|
||||
static struct i2c_board_info ov7670_info = {
|
||||
.type = "ov7670",
|
||||
.addr = 0x42 >> 1,
|
||||
.platform_data = &sensor_cfg,
|
||||
|
|
Loading…
Reference in a new issue