]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
nds32/ag101/watchdog.S: add linkage support
authorMacpaul Lin <macpaul@andestech.com>
Wed, 30 Nov 2011 08:01:28 +0000 (16:01 +0800)
committerMacpaul Lin <macpaul@gmail.com>
Tue, 28 Feb 2012 05:09:23 +0000 (13:09 +0800)
Add linkage support to watchdog.S.

Signed-off-by: Macpaul Lin <macpaul@andestech.com>
arch/nds32/cpu/n1213/ag101/watchdog.S

index fc39f3f30877d7b5ec644d02ee86820ccaf5f333..18f0b664c246bc27638b6d07130dfed21ec98036 100644 (file)
  */
 
 #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