Commit 932952e5 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

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: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent d677a6cf
...@@ -472,7 +472,7 @@ static struct ov7670_config sensor_cfg = { ...@@ -472,7 +472,7 @@ static struct ov7670_config sensor_cfg = {
.use_smbus = 1, .use_smbus = 1,
}; };
struct i2c_board_info ov7670_info = { static struct i2c_board_info ov7670_info = {
.type = "ov7670", .type = "ov7670",
.addr = 0x42 >> 1, .addr = 0x42 >> 1,
.platform_data = &sensor_cfg, .platform_data = &sensor_cfg,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment