summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform
diff options
context:
space:
mode:
authorMauro Carvalho Chehab2019-06-24 19:08:59 +0200
committerMauro Carvalho Chehab2019-06-24 19:10:54 +0200
commit932952e525e5c8d38cf3df4a3265be5652d57c97 (patch)
treef03456d7b767778a427aafc412fdf730800e0067 /drivers/media/platform
parentmedia: staging: media: fix style problem (diff)
downloadkernel-qcow2-linux-932952e525e5c8d38cf3df4a3265be5652d57c97.tar.gz
kernel-qcow2-linux-932952e525e5c8d38cf3df4a3265be5652d57c97.tar.xz
kernel-qcow2-linux-932952e525e5c8d38cf3df4a3265be5652d57c97.zip
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>
Diffstat (limited to 'drivers/media/platform')
-rw-r--r--drivers/media/platform/marvell-ccic/cafe-driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/marvell-ccic/cafe-driver.c b/drivers/media/platform/marvell-ccic/cafe-driver.c
index 16602628f895..37fdcc53a1c4 100644
--- a/drivers/media/platform/marvell-ccic/cafe-driver.c
+++ b/drivers/media/platform/marvell-ccic/cafe-driver.c
@@ -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,