From: Macpaul Lin Date: Wed, 30 Nov 2011 08:01:28 +0000 (+0800) Subject: nds32/ag101/watchdog.S: add linkage support X-Git-Tag: v2012.04-rc1~99^2~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3998586bce1efbd2534d78be2c6af341c5659f12;p=u-boot nds32/ag101/watchdog.S: add linkage support Add linkage support to watchdog.S. Signed-off-by: Macpaul Lin --- diff --git a/arch/nds32/cpu/n1213/ag101/watchdog.S b/arch/nds32/cpu/n1213/ag101/watchdog.S index fc39f3f308..18f0b664c2 100644 --- a/arch/nds32/cpu/n1213/ag101/watchdog.S +++ b/arch/nds32/cpu/n1213/ag101/watchdog.S @@ -22,12 +22,12 @@ */ #include +#include .text #ifndef CONFIG_SKIP_TRUNOFF_WATCHDOG -.globl turnoff_watchdog -turnoff_watchdog: +ENTRY(turnoff_watchdog) #define WD_CR 0xC #define WD_ENABLE 0x1 @@ -45,4 +45,5 @@ turnoff_watchdog: ret +ENDPROC(turnoff_watchdog) #endif