1 Dec 2011 05:37
[PATCH v2 2/2] nds32/ag101/watchdog.S: add linkage support
Macpaul Lin <macpaul <at> andestech.com>
2011-12-01 04:37:07 GMT
2011-12-01 04:37:07 GMT
Add linkage support to watchdog.S. Signed-off-by: Macpaul Lin <macpaul <at> andestech.com> --- Changes for v2: - No change. arch/nds32/cpu/n1213/ag101/watchdog.S | 5 +++-- 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 <at> <at> -22,12 +22,12 <at> <at> */ #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 <at> <at> -45,4 +45,5 <at> <at> turnoff_watchdog: ret +ENDPROC(turnoff_watchdog) #endif -- -- 1.7.3.5
RSS Feed