Message ID | 1361275236-16071-1-git-send-email-sachin.kamat@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 19 February 2013 17:30, Sachin Kamat <sachin.kamat@linaro.org> wrote: > 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> ping.. > --- > drivers/media/platform/timblogiw.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/media/platform/timblogiw.c b/drivers/media/platform/timblogiw.c > index c3a2a44..2d91eeb 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, > -- > 1.7.4.1 >
diff --git a/drivers/media/platform/timblogiw.c b/drivers/media/platform/timblogiw.c index c3a2a44..2d91eeb 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,
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> --- drivers/media/platform/timblogiw.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)