watchdog: ts72xx_wdt: make 'ts72xx_wdt_pdev' static
authorJingoo Han <jg1.han@samsung.com>
Tue, 11 Feb 2014 06:59:38 +0000 (15:59 +0900)
committerWim Van Sebroeck <wim@iguana.be>
Mon, 31 Mar 2014 11:23:46 +0000 (13:23 +0200)
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@samsung.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/ts72xx_wdt.c

index 6959fa0f64b67997f7a07f2b886fbf4cfc8f5c25..afa9d6ef353ab3ab8e13f44acfa5a448953961a8 100644 (file)
@@ -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