Re: [PATCH] watchdog: ts72xx_wdt: make 'ts72xx_wdt_pdev' static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jingoo,

> Make 'ts72xx_wdt_pdev' static, because it is used only in this
> file. It also fixes the following sparse warning.
> 
>   warning: symbol 'ts72xx_wdt_pdev' was not declared. Should it be static?
> 
> Signed-off-by: Jingoo Han <jg1.han@xxxxxxxxxxx>
> ---
>  drivers/watchdog/ts72xx_wdt.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/watchdog/ts72xx_wdt.c b/drivers/watchdog/ts72xx_wdt.c
> index 6959fa0..afa9d6e 100644
> --- a/drivers/watchdog/ts72xx_wdt.c
> +++ b/drivers/watchdog/ts72xx_wdt.c
> @@ -61,7 +61,7 @@ struct ts72xx_wdt {
>  	struct platform_device *pdev;
>  };
>  
> -struct platform_device *ts72xx_wdt_pdev;
> +static struct platform_device *ts72xx_wdt_pdev;
>  
>  /*
>   * TS-72xx Watchdog supports following timeouts (value written
> -- 
> 1.7.10.4
> 
> 

This patch has been added to linux-watchdog-next.

Kind regards,
Wim.

--
To unsubscribe from this list: send the line "unsubscribe linux-watchdog" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux