From: Sachin Kamat Date: Tue, 19 Feb 2013 11:00:36 +0000 (-0300) Subject: [media] timblogiw: Fix sparse warning X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a9fc36afc074db2d5995136b50b018c2ca77f48f;p=openwrt%2Fstaging%2Fblogic.git [media] timblogiw: Fix sparse warning Fixes the below warning: drivers/media/platform/timblogiw.c:81:31: warning: symbol 'timblogiw_tvnorms' was not declared. Should it be static? Signed-off-by: Sachin Kamat Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/platform/timblogiw.c b/drivers/media/platform/timblogiw.c index c3a2a4484401..2d91eeb1d2ae 100644 --- a/drivers/media/platform/timblogiw.c +++ b/drivers/media/platform/timblogiw.c @@ -78,7 +78,7 @@ struct timblogiw_buffer { struct timblogiw_fh *fh; }; -const struct timblogiw_tvnorm timblogiw_tvnorms[] = { +static const struct timblogiw_tvnorm timblogiw_tvnorms[] = { { .std = V4L2_STD_PAL, .width = 720,