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/m68k/lib/board.c | 1 + 1 file changed, 1 insertion(+) (limited to 'arch/m68k') diff --git a/arch/m68k/lib/board.c b/arch/m68k/lib/board.c index b676255dd0..adaccfe69e 100644 --- a/arch/m68k/lib/board.c +++ b/arch/m68k/lib/board.c @@ -80,6 +80,7 @@ extern ulong __init_end; extern ulong __bss_end; #if defined(CONFIG_WATCHDOG) +# undef INIT_FUNC_WATCHDOG_INIT # define INIT_FUNC_WATCHDOG_INIT watchdog_init, # define WATCHDOG_DISABLE watchdog_disable -- cgit v1.2.1