summaryrefslogtreecommitdiff
path: root/arch/arm/mach-at91/spl.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-at91/spl.c')
-rw-r--r--arch/arm/mach-at91/spl.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/mach-at91/spl.c b/arch/arm/mach-at91/spl.c
index 7cba3825e7..8bfb2a452b 100644
--- a/arch/arm/mach-at91/spl.c
+++ b/arch/arm/mach-at91/spl.c
@@ -11,9 +11,7 @@
#include <asm/arch/clk.h>
#include <spl.h>
-#if defined(CONFIG_AT91SAM9_WATCHDOG)
-void at91_disable_wdt(void) { }
-#else
+#if !defined(CONFIG_AT91SAM9_WATCHDOG)
void at91_disable_wdt(void)
{
struct at91_wdt *wdt = (struct at91_wdt *)ATMEL_BASE_WDT;