From: Bin Meng Date: Mon, 25 Jan 2016 09:53:13 +0000 (-0800) Subject: openrisc: Fix build errors X-Git-Tag: v2016.03-rc1~59 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=81b0b0d93bfe84623f74b49cedaf23f3013b7dfc;p=u-boot openrisc: Fix build errors With kernel.org toolchain, it reports: CC arch/openrisc/lib/board.o arch/openrisc/lib/board.c:56:2: error: 'console_init_f' undeclared here (not in a function) arch/openrisc/lib/board.c: In function 'board_init': arch/openrisc/lib/board.c:120:2: warning: implicit declaration of function 'console_init_r' make[1]: *** [arch/openrisc/lib/board.o] Error 1 make: *** [arch/openrisc/lib] Error 2 Include console.h will fix this. Signed-off-by: Bin Meng --- diff --git a/arch/openrisc/lib/board.c b/arch/openrisc/lib/board.c index c26cc8f503..b7fbd2f125 100644 --- a/arch/openrisc/lib/board.c +++ b/arch/openrisc/lib/board.c @@ -13,6 +13,7 @@ */ #include +#include #include #include #include