aboutsummaryrefslogtreecommitdiff
path: root/arch/sh
diff options
context:
space:
mode:
authorSimon Glass2013-03-05 14:39:42 +0000
committerTom Rini2013-03-15 16:13:59 -0400
commita6741bce507151f561250a00f28bcbfb2372ba02 (patch)
tree83d8928a740cb387d5157880c3195890eee05931 /arch/sh
parent5c1a7ea6adf80decf6a9e998afc6a26508c68dbc (diff)
Declare watchdog functions in watchdog.h
These functions are only available for powerpc and are not declared in a header file. We want to use the rest function in two places (board_f and board_r), so declare the functions in watchdog.h. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sh')
-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