summaryrefslogtreecommitdiff
path: root/arch/sh/lib/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/lib/board.c')
-rw-r--r--arch/sh/lib/board.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/lib/board.c b/arch/sh/lib/board.c
index 34d7881f446..6e43acfbd35 100644
--- a/arch/sh/lib/board.c
+++ b/arch/sh/lib/board.c
@@ -65,6 +65,7 @@ static int sh_flash_init(void)
#if defined(CONFIG_WATCHDOG)
extern int watchdog_init(void);
extern int watchdog_disable(void);
+# undef INIT_FUNC_WATCHDOG_INIT
# define INIT_FUNC_WATCHDOG_INIT watchdog_init,
# define WATCHDOG_DISABLE watchdog_disable
#else