From a6741bce507151f561250a00f28bcbfb2372ba02 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Tue, 5 Mar 2013 14:39:42 +0000 Subject: 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 --- arch/sh/lib/board.c | 1 + 1 file changed, 1 insertion(+) (limited to 'arch/sh/lib/board.c') diff --git a/arch/sh/lib/board.c b/arch/sh/lib/board.c index 34d7881f4..6e43acfbd 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 -- cgit v1.2.3-70-g09d2