From: Jingoo Han Date: Tue, 11 Feb 2014 06:59:38 +0000 (+0900) Subject: watchdog: ts72xx_wdt: make 'ts72xx_wdt_pdev' static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a17fb5cbee5dffcb93aeb4b71e2ef9e0eeec0bc2;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git watchdog: ts72xx_wdt: make 'ts72xx_wdt_pdev' static 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 Acked-by: Mika Westerberg Reviewed-by: Guenter Roeck Signed-off-by: Wim Van Sebroeck --- diff --git a/drivers/watchdog/ts72xx_wdt.c b/drivers/watchdog/ts72xx_wdt.c index 6959fa0f64b6..afa9d6ef353a 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