diff mbox

[1/1,media] timblogiw: Fix sparse warning

Message ID 1361275236-16071-1-git-send-email-sachin.kamat@linaro.org (mailing list archive)
State New, archived
Headers show

Commit Message

Sachin Kamat Feb. 19, 2013, noon UTC
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(-)

Comments

Sachin Kamat March 12, 2013, 3:10 p.m. UTC | #1
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 mbox

Patch

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,