projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/drivers/watchdog/pnx4008_wdt.c
b/drivers/watchdog/pnx4008_wdt.c
index 35319a49d01ab5c310eb03a893eb1ae23655df0f..313cd1c6fda0efcfa03897f1d23fc18b138e3779 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)
{