aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFengguang Wu2015-08-07 10:28:40 -0700
committerWim Van Sebroeck2015-09-09 21:36:17 +0200
commit6cd8a1b9f71290d58099101e65e7e2279bcdb212 (patch)
tree4cfe17fec82cc1c5f2a78167207db67b432ec21f
parentcfde37e1ec18dc68a52a1b882390c0f9c52b5f10 (diff)
watchdog: lpc18xx_wdt_get_timeleft() can be static
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>
-rw-r--r--drivers/watchdog/lpc18xx_wdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/lpc18xx_wdt.c b/drivers/watchdog/lpc18xx_wdt.c
index 00ff5bdd2db0..ab7b8b185d99 100644
--- 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;