[U-Boot] [PATCH] ARM: netspace_v2: fix warnings
Anatolij Gustschin
agust at denx.de
Sat Oct 29 23:31:19 CEST 2011
Fix compiler warnings when compiling for netspace_v2, netspace_max_v2
and inetspace_v2:
netspace_v2.c: In function 'board_early_init_f':
netspace_v2.c:37: warning: implicit declaration of function 'kw_config_gpio'
netspace_v2.c: In function 'board_init':
netspace_v2.c:86: warning: implicit declaration of function 'kw_sdram_bar'
Signed-off-by: Anatolij Gustschin <agust at denx.de>
Cc: Simon Guinot <simon.guinot at sequanux.org>
Cc: Albert ARIBAUD <albert.u.boot at aribaud.net>
---
board/LaCie/netspace_v2/netspace_v2.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/board/LaCie/netspace_v2/netspace_v2.c b/board/LaCie/netspace_v2/netspace_v2.c
index 3bb83f3..7c4b15e 100644
--- a/board/LaCie/netspace_v2/netspace_v2.c
+++ b/board/LaCie/netspace_v2/netspace_v2.c
@@ -24,6 +24,7 @@
#include <miiphy.h>
#include <netdev.h>
#include <command.h>
+#include <asm/arch/cpu.h>
#include <asm/arch/kirkwood.h>
#include <asm/arch/mpp.h>
#include <asm/arch/gpio.h>
--
1.7.1
More information about the U-Boot
mailing list