On Thu, 19 Feb 2009 17:24:09 +0100
Heiko Schocher <h...@denx.de> wrote:

> Signed-off-by: Heiko Schocher <h...@denx.de>
> ---
>  drivers/i2c/fsl_i2c.c |   24 +++++++++++++++++++++++-
>  1 files changed, 23 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/i2c/fsl_i2c.c b/drivers/i2c/fsl_i2c.c
> index ce646fd..5242884 100644
> --- a/drivers/i2c/fsl_i2c.c
> +++ b/drivers/i2c/fsl_i2c.c
> @@ -42,6 +42,7 @@ DECLARE_GLOBAL_DATA_PTR;
>  #define CONFIG_SYS_SPD_BUS_NUM 0
>  #endif
>  static unsigned int i2c_bus_num __attribute__ ((section (".data"))) = 
> CONFIG_SYS_SPD_BUS_NUM;
> +static unsigned int i2c_bus_num_mux __attribute__ ((section ("data"))) = 0;

also, this line gets this from the compiler:

fsl_i2c.c:45: warning: 'i2c_bus_num_mux' defined but not used

Kim
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to