diff options
author | Vladimir Zapolskiy <vz@mleia.com> | 2015-10-28 00:55:35 (GMT) |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2015-11-23 07:59:07 (GMT) |
commit | 4c30737ce16612b0f3b840a7c9928385cbb67555 (patch) | |
tree | 5ba81f4c9f3e1b92ae6bf1eb30588eca37886c03 /drivers/watchdog | |
parent | b647d4297234e7f5456c16635ca0cdd82b7055db (diff) | |
download | linux-4c30737ce16612b0f3b840a7c9928385cbb67555.tar.xz |
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>
Diffstat (limited to 'drivers/watchdog')
-rw-r--r-- | drivers/watchdog/pnx4008_wdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/pnx4008_wdt.c b/drivers/watchdog/pnx4008_wdt.c index 35319a4..313cd1c 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) { |