]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[media] timblogiw: Fix sparse warning
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 19 Feb 2013 11:00:36 +0000 (08:00 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 14 Mar 2013 14:36:34 +0000 (11:36 -0300)
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 <sachin.kamat@linaro.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/timblogiw.c

index c3a2a4484401c45de7e2e9856fb54967f705f757..2d91eeb1d2ae95b59b8e600fb62b82cb79dbff99 100644 (file)
@@ -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,