mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
8943c7a18f
commit
c7b7187b46
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue