media: atmel-isc: Make local symbol fmt_configs_list static
authorWei Yongjun <weiyongjun1@huawei.com>
Sat, 23 Dec 2017 01:57:04 +0000 (20:57 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 26 Feb 2018 11:56:17 +0000 (06:56 -0500)
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>
drivers/media/platform/atmel/atmel-isc.c

index 92d695b..d89e145 100644 (file)
@@ -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,