[U-Boot] [PATCH] uec: Fix compile warning

Kumar Gala galak at kernel.crashing.org
Wed Jun 17 15:23:44 CEST 2009


On Jun 17, 2009, at 8:22 AM, Kumar Gala wrote:

> cpu.c: In function 'cpu_eth_init':
> cpu.c:371: warning: implicit declaration of function  
> 'uec_standard_init'
>
> Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
> ---
> include/netdev.h |    1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/include/netdev.h b/include/netdev.h
> index aed5c4c..92eceb1 100644
> --- a/include/netdev.h
> +++ b/include/netdev.h
> @@ -50,6 +50,7 @@ int e1000_initialize(bd_t *bis);
> int eepro100_initialize(bd_t *bis);
> int eth_3com_initialize (bd_t * bis);
> int fec_initialize (bd_t *bis);
> +int uec_standard_init(bd_t *bis);
> int greth_initialize(bd_t *bis);
> void gt6426x_eth_initialize(bd_t *bis);
> int inca_switch_initialize(bd_t *bis);
> -- 
> 1.6.0.6

Ben,

This should address the warning that Richard reported.  Feel free to  
pick this up via the net tree.

- k


More information about the U-Boot mailing list