aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/watchdog
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-02-11 01:59:38 -0500
committerWim Van Sebroeck <wim@iguana.be>2014-03-31 07:23:46 -0400
commita17fb5cbee5dffcb93aeb4b71e2ef9e0eeec0bc2 (patch)
tree129866973e24eba1e07a461df6064cb8a2d508a1 /drivers/watchdog
parent8deea830644c0a4bdd90dfda7249d0f40f0667fa (diff)
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 <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>
Diffstat (limited to 'drivers/watchdog')
-rw-r--r--drivers/watchdog/ts72xx_wdt.c2
1 files changed, 1 insertions, 1 deletions
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 {
61 struct platform_device *pdev; 61 struct platform_device *pdev;
62}; 62};
63 63
64struct platform_device *ts72xx_wdt_pdev; 64static struct platform_device *ts72xx_wdt_pdev;
65 65
66/* 66/*
67 * TS-72xx Watchdog supports following timeouts (value written 67 * TS-72xx Watchdog supports following timeouts (value written