From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Sun, 30 Oct 2011 11:45:37 +0100 Subject: [U-Boot] [PATCH] ARM: netspace_v2: fix warnings In-Reply-To: <1319923879-8783-1-git-send-email-agust@denx.de> References: <1319923879-8783-1-git-send-email-agust@denx.de> Message-ID: <4EAD2AD1.5030503@aribaud.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Anatolij, Le 29/10/2011 23:31, Anatolij Gustschin a ?crit : > 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 > Cc: Simon Guinot > Cc: Albert ARIBAUD > --- > 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 > #include > #include > +#include > #include > #include > #include Applied to u-boot-arm/master, as a bugfix to help netspace_v2 compile clean. Note however that I also see the following warning for netspace_v2: mvgbe.c: In function 'mvgbe_initialize': mvgbe.c:735: warning: implicit declaration of function 'get_random_hex' Amicalement, -- Albert.