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>
This commit is contained in:
parent
cfde37e1ec
commit
6cd8a1b9f7
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ static int lpc18xx_wdt_set_timeout(struct watchdog_device *wdt_dev,
|
||||||
return 0;
|
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);
|
struct lpc18xx_wdt_dev *lpc18xx_wdt = watchdog_get_drvdata(wdt_dev);
|
||||||
unsigned int val;
|
unsigned int val;
|
||||||
|
|
Loading…
Add table
Reference in a new issue