[U-Boot] [PATCH 02/12] microblaze: Remove extern from board.c

Simon Glass sjg at chromium.org
Mon Jul 9 23:10:52 CEST 2012


On Mon, Jul 9, 2012 at 2:20 AM, Michal Simek <monstr at monstr.eu> wrote:

> eth_init() is defined at include/net.h.
>
> Signed-off-by: Michal Simek <monstr at monstr.eu>
>

Acked-by: Simon Glass <sjg at chromium.org>


> ---
>  arch/microblaze/lib/board.c |    4 ----
>  1 files changed, 0 insertions(+), 4 deletions(-)
>
> diff --git a/arch/microblaze/lib/board.c b/arch/microblaze/lib/board.c
> index 4146f5c..1cf895b 100644
> --- a/arch/microblaze/lib/board.c
> +++ b/arch/microblaze/lib/board.c
> @@ -42,10 +42,6 @@ extern int gpio_init (void);
>  #ifdef CONFIG_SYS_INTC_0
>  extern int interrupts_init (void);
>  #endif
> -
> -#if defined(CONFIG_CMD_NET)
> -extern int eth_init (bd_t * bis);
> -#endif
>  #ifdef CONFIG_SYS_TIMER_0
>  extern int timer_init (void);
>  #endif
> --
> 1.7.0.4
>
>


More information about the U-Boot mailing list