Skip to content
Snippets Groups Projects
Commit 3998586b authored by Macpaul Lin's avatar Macpaul Lin Committed by Macpaul Lin
Browse files

nds32/ag101/watchdog.S: add linkage support


Add linkage support to watchdog.S.

Signed-off-by: default avatarMacpaul Lin <macpaul@andestech.com>
parent 184e6f7d
No related branches found
No related tags found
No related merge requests found
...@@ -22,12 +22,12 @@ ...@@ -22,12 +22,12 @@
*/ */
#include <asm/arch-ag101/ag101.h> #include <asm/arch-ag101/ag101.h>
#include <linux/linkage.h>
.text .text
#ifndef CONFIG_SKIP_TRUNOFF_WATCHDOG #ifndef CONFIG_SKIP_TRUNOFF_WATCHDOG
.globl turnoff_watchdog ENTRY(turnoff_watchdog)
turnoff_watchdog:
#define WD_CR 0xC #define WD_CR 0xC
#define WD_ENABLE 0x1 #define WD_ENABLE 0x1
...@@ -45,4 +45,5 @@ turnoff_watchdog: ...@@ -45,4 +45,5 @@ turnoff_watchdog:
ret ret
ENDPROC(turnoff_watchdog)
#endif #endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment