Skip to content

Commit

Permalink
watchdog: lpc18xx_wdt_get_timeleft() can be static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Fengguang Wu authored and Wim Van Sebroeck committed Sep 9, 2015
1 parent cfde37e commit 6cd8a1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/watchdog/lpc18xx_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6cd8a1b

Please sign in to comment.