Patchwork [U-Boot,09/13] board/LaCie/edminiv2/edminiv2.c: Fix build warning

login
register
mail settings
Submitter Wolfgang Denk
Date Dec. 9, 2011, 11:14 a.m.
Message ID <1323429272-26801-10-git-send-email-wd@denx.de>
Download mbox | patch
Permalink /patch/130352/
State Accepted
Headers show

Comments

Wolfgang Denk - Dec. 9, 2011, 11:14 a.m.
Fix:
edminiv2.c: In function 'reset_phy':
edminiv2.c:98:2: warning: implicit declaration of function
'mv_phy_88e1116_init' [-Wimplicit-function-declaration]

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
---
 board/LaCie/edminiv2/edminiv2.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Simon Guinot - Dec. 9, 2011, 3:11 p.m.
On Fri, Dec 09, 2011 at 12:14:28PM +0100, Wolfgang Denk wrote:
> Fix:
> edminiv2.c: In function 'reset_phy':
> edminiv2.c:98:2: warning: implicit declaration of function
> 'mv_phy_88e1116_init' [-Wimplicit-function-declaration]
> 
> Signed-off-by: Wolfgang Denk <wd@denx.de>
> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
> ---
>  board/LaCie/edminiv2/edminiv2.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/board/LaCie/edminiv2/edminiv2.c b/board/LaCie/edminiv2/edminiv2.c
> index c1a01bc..1b33875 100644
> --- a/board/LaCie/edminiv2/edminiv2.c
> +++ b/board/LaCie/edminiv2/edminiv2.c
> @@ -27,6 +27,7 @@
>  #include <common.h>
>  #include <miiphy.h>
>  #include <asm/arch/orion5x.h>
> +#include "../common/common.h"
>  
>  DECLARE_GLOBAL_DATA_PTR;
>  

My bad.

Acked-by: Simon Guinot <simon.guinot@sequanux.org>

> -- 
> 1.7.6.4
> 
> _______________________________________________
> U-Boot mailing list
> U-Boot@lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
Wolfgang Denk - Dec. 10, 2011, 10:11 p.m.
Dear Wolfgang Denk,

In message <1323429272-26801-10-git-send-email-wd@denx.de> you wrote:
> Fix:
> edminiv2.c: In function 'reset_phy':
> edminiv2.c:98:2: warning: implicit declaration of function
> 'mv_phy_88e1116_init' [-Wimplicit-function-declaration]
> 
> Signed-off-by: Wolfgang Denk <wd@denx.de>
> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
> ---
>  board/LaCie/edminiv2/edminiv2.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Patch

diff --git a/board/LaCie/edminiv2/edminiv2.c b/board/LaCie/edminiv2/edminiv2.c
index c1a01bc..1b33875 100644
--- a/board/LaCie/edminiv2/edminiv2.c
+++ b/board/LaCie/edminiv2/edminiv2.c
@@ -27,6 +27,7 @@ 
 #include <common.h>
 #include <miiphy.h>
 #include <asm/arch/orion5x.h>
+#include "../common/common.h"
 
 DECLARE_GLOBAL_DATA_PTR;