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

login
register
mail settings
Submitter Michal Simek
Date July 9, 2012, 9:20 a.m.
Message ID <1341825639-23475-2-git-send-email-monstr@monstr.eu>
Download mbox | patch
Permalink /patch/169731/
State Accepted
Commit 36c7e6efb372848edbbcd16c196003d0d93c2e2a
Headers show

Comments

Michal Simek - July 9, 2012, 9:20 a.m.
eth_init() is defined at include/net.h.

Signed-off-by: Michal Simek <monstr@monstr.eu>
---
 arch/microblaze/lib/board.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
Simon Glass - July 9, 2012, 9:10 p.m.
On Mon, Jul 9, 2012 at 2:20 AM, Michal Simek <monstr@monstr.eu> wrote:

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

Acked-by: Simon Glass <sjg@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
>
>
Michal Simek - July 10, 2012, 8:24 a.m.
On 07/09/2012 11:10 PM, Simon Glass wrote:
> Acked-by: Simon Glass <sjg@chromium.org <mailto:sjg@chromium.org>>

Applied.

Thanks,
Michal

Patch

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