summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWei Yongjun2017-12-23 02:57:04 +0100
committerMauro Carvalho Chehab2018-02-26 12:56:17 +0100
commitc7b7187b4626e8a52248699e1dc7e4ff50a5aa6e (patch)
treec28989cd25f199616b634087bd33c390013b12c4
parentmedia: imx: allow to build with COMPILE_TEST (diff)
downloadkernel-qcow2-linux-c7b7187b4626e8a52248699e1dc7e4ff50a5aa6e.tar.gz
kernel-qcow2-linux-c7b7187b4626e8a52248699e1dc7e4ff50a5aa6e.tar.xz
kernel-qcow2-linux-c7b7187b4626e8a52248699e1dc7e4ff50a5aa6e.zip
media: atmel-isc: Make local symbol fmt_configs_list static
Fixes the following sparse warning: drivers/media/platform/atmel/atmel-isc.c:338:19: warning: symbol 'fmt_configs_list' was not declared. Should it be static? Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Acked-by: Wenyou Yang <wenyou.yang@microchip.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
-rw-r--r--drivers/media/platform/atmel/atmel-isc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/atmel/atmel-isc.c b/drivers/media/platform/atmel/atmel-isc.c
index 92d695b29fa9..d89e14524d42 100644
--- a/drivers/media/platform/atmel/atmel-isc.c
+++ b/drivers/media/platform/atmel/atmel-isc.c
@@ -335,7 +335,7 @@ static struct isc_format formats_list[] = {
},
};
-struct fmt_config fmt_configs_list[] = {
+static struct fmt_config fmt_configs_list[] = {
{
.fourcc = V4L2_PIX_FMT_SBGGR8,
.pfe_cfg0_bps = ISC_PFE_CFG0_BPS_EIGHT,