diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-11-12 18:51:21 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-11-12 18:51:21 +0000 |
commit | 74ed307c1e14b64fff77fc8394a134162f2a8e16 (patch) | |
tree | 8f94973eea191fc662a190d673a31d3525c45cf3 /target/linux/ar71xx/files/drivers/watchdog | |
parent | 2adda3cec6b01b487d89bb5a5473d4d67622c7f4 (diff) |
ar71xx: fix inline attribute location
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23978 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files/drivers/watchdog')
-rw-r--r-- | target/linux/ar71xx/files/drivers/watchdog/ar71xx_wdt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/ar71xx/files/drivers/watchdog/ar71xx_wdt.c b/target/linux/ar71xx/files/drivers/watchdog/ar71xx_wdt.c index b8b2b03c0e..976b23a017 100644 --- a/target/linux/ar71xx/files/drivers/watchdog/ar71xx_wdt.c +++ b/target/linux/ar71xx/files/drivers/watchdog/ar71xx_wdt.c @@ -54,19 +54,19 @@ static int wdt_timeout = WDT_TIMEOUT; static int boot_status; static int max_timeout; -static void inline ar71xx_wdt_keepalive(void) +static inline void ar71xx_wdt_keepalive(void) { ar71xx_reset_wr(AR71XX_RESET_REG_WDOG, ar71xx_ahb_freq * wdt_timeout); } -static void inline ar71xx_wdt_enable(void) +static inline void ar71xx_wdt_enable(void) { printk(KERN_DEBUG DRV_NAME ": enabling watchdog timer\n"); ar71xx_wdt_keepalive(); ar71xx_reset_wr(AR71XX_RESET_REG_WDOG_CTRL, WDOG_CTRL_ACTION_FCR); } -static void inline ar71xx_wdt_disable(void) +static inline void ar71xx_wdt_disable(void) { printk(KERN_DEBUG DRV_NAME ": disabling watchdog timer\n"); ar71xx_reset_wr(AR71XX_RESET_REG_WDOG_CTRL, WDOG_CTRL_ACTION_NONE); |