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:
cfde37e
)
watchdog: lpc18xx_wdt_get_timeleft() can be static
author
Fengguang Wu
<fengguang.wu@intel.com>
Fri, 7 Aug 2015 17:28:40 +0000
(10:28 -0700)
committer
Wim Van Sebroeck
<wim@iguana.be>
Wed, 9 Sep 2015 19:36:17 +0000
(21:36 +0200)
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/lpc18xx_wdt.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/watchdog/lpc18xx_wdt.c
b/drivers/watchdog/lpc18xx_wdt.c
index 00ff5bdd2db05d9126b2a88ce5e10bc5a58017d2..ab7b8b185d992e621a8644b1a7552cb81192dc1f 100644
(file)
--- a/
drivers/watchdog/lpc18xx_wdt.c
+++ b/
drivers/watchdog/lpc18xx_wdt.c
@@
-123,7
+123,7
@@
static int lpc18xx_wdt_set_timeout(struct watchdog_device *wdt_dev,
return 0;
}
-unsigned int lpc18xx_wdt_get_timeleft(struct watchdog_device *wdt_dev)
+
static
unsigned int lpc18xx_wdt_get_timeleft(struct watchdog_device *wdt_dev)
{
struct lpc18xx_wdt_dev *lpc18xx_wdt = watchdog_get_drvdata(wdt_dev);
unsigned int val;