diff options
author | Fengguang Wu <fengguang.wu@intel.com> | 2015-08-07 19:28:40 +0200 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2015-09-09 21:36:17 +0200 |
commit | 6cd8a1b9f71290d58099101e65e7e2279bcdb212 (patch) | |
tree | 4cfe17fec82cc1c5f2a78167207db67b432ec21f /drivers/watchdog/lpc18xx_wdt.c | |
parent | DT: watchdog: Add NXP LPC18xx Watchdog Timer binding documentation (diff) | |
download | linux-6cd8a1b9f71290d58099101e65e7e2279bcdb212.tar.xz linux-6cd8a1b9f71290d58099101e65e7e2279bcdb212.zip |
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>
Diffstat (limited to 'drivers/watchdog/lpc18xx_wdt.c')
-rw-r--r-- | drivers/watchdog/lpc18xx_wdt.c | 2 |
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; |