summaryrefslogtreecommitdiff
path: root/arch/nds32/cpu
diff options
context:
space:
mode:
authorMacpaul Lin <macpaul@andestech.com>2011-11-30 16:01:28 +0800
committerMacpaul Lin <macpaul@gmail.com>2012-02-28 13:09:23 +0800
commit3998586bce1efbd2534d78be2c6af341c5659f12 (patch)
tree6f9d353c0d52f019cac98419c52ee487ab156e2a /arch/nds32/cpu
parent184e6f7db9babfd694ada5eb1cd11a84d671c691 (diff)
downloadu-boot-imx-3998586bce1efbd2534d78be2c6af341c5659f12.zip
u-boot-imx-3998586bce1efbd2534d78be2c6af341c5659f12.tar.gz
u-boot-imx-3998586bce1efbd2534d78be2c6af341c5659f12.tar.bz2
nds32/ag101/watchdog.S: add linkage support
Add linkage support to watchdog.S. Signed-off-by: Macpaul Lin <macpaul@andestech.com>
Diffstat (limited to 'arch/nds32/cpu')
-rw-r--r--arch/nds32/cpu/n1213/ag101/watchdog.S5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/nds32/cpu/n1213/ag101/watchdog.S b/arch/nds32/cpu/n1213/ag101/watchdog.S
index fc39f3f..18f0b66 100644
--- a/arch/nds32/cpu/n1213/ag101/watchdog.S
+++ b/arch/nds32/cpu/n1213/ag101/watchdog.S
@@ -22,12 +22,12 @@
*/
#include <asm/arch-ag101/ag101.h>
+#include <linux/linkage.h>
.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