summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVladimir Zapolskiy <vz@mleia.com>2015-10-28 01:55:35 +0100
committerWim Van Sebroeck <wim@iguana.be>2015-11-23 08:59:07 +0100
commit4c30737ce16612b0f3b840a7c9928385cbb67555 (patch)
tree5ba81f4c9f3e1b92ae6bf1eb30588eca37886c03
parentwatchdog: pnx4008: fix warnings caused by enabling unprepared clock (diff)
downloadlinux-4c30737ce16612b0f3b840a7c9928385cbb67555.tar.xz
linux-4c30737ce16612b0f3b840a7c9928385cbb67555.zip
watchdog: pnx4008: make global wdt_clk static
Silences sparse warning: drivers/watchdog/pnx4008_wdt.c:83:25: warning: symbol 'wdt_clk' was not declared. Should it be static? Signed-off-by: Vladimir Zapolskiy <vz@mleia.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
-rw-r--r--drivers/watchdog/pnx4008_wdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/pnx4008_wdt.c b/drivers/watchdog/pnx4008_wdt.c
index 35319a49d01a..313cd1c6fda0 100644
--- a/drivers/watchdog/pnx4008_wdt.c
+++ b/drivers/watchdog/pnx4008_wdt.c
@@ -80,7 +80,7 @@ static unsigned int heartbeat = DEFAULT_HEARTBEAT;
static DEFINE_SPINLOCK(io_lock);
static void __iomem *wdt_base;
-struct clk *wdt_clk;
+static struct clk *wdt_clk;
static int pnx4008_wdt_start(struct watchdog_device *wdd)
{