]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/nds32/cpu/n1213/ag101/watchdog.S
nds32/ag101/watchdog.S: add linkage support
[karo-tx-uboot.git] / 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