diff mbox

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

Message ID 1323429272-26801-10-git-send-email-wd@denx.de
State Accepted
Headers show

Commit Message

Wolfgang Denk Dec. 9, 2011, 11:14 a.m. UTC
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(-)

Comments

Simon Guinot Dec. 9, 2011, 3:11 p.m. UTC | #1
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. UTC | #2
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
diff mbox

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;