projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b647d42
)
watchdog: pnx4008: make global wdt_clk static
author
Vladimir Zapolskiy
<vz@mleia.com>
Wed, 28 Oct 2015 00:55:35 +0000
(
02:55
+0200)
committer
Wim Van Sebroeck
<wim@iguana.be>
Mon, 23 Nov 2015 07:59:07 +0000
(08:59 +0100)
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>
drivers/watchdog/pnx4008_wdt.c
patch
|
blob
|
history
diff --git
a/drivers/watchdog/pnx4008_wdt.c
b/drivers/watchdog/pnx4008_wdt.c
index
35319a4
..
313cd1c
100644
(file)
--- 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;
-st
ruct clk
*wdt_clk;
+st
atic struct clk
*wdt_clk;
static int pnx4008_wdt_start(struct watchdog_device *wdd)
{