On Mon, Sep 5, 2011 at 6:25 AM, Sanjeev Premi <[email protected]> wrote:
> This patch fixes the warning dure to recent changes to the board
> configuration:
> cmd_i2c.o cmd_i2c.c -c
> cmd_i2c.c:109:1: warning: missing braces around initializer
> cmd_i2c.c:109:1: warning: (near initialization for 'i2c_no_probes[0]')
>
> Signed-off-by: Sanjeev Premi <[email protected]>
> Cc: Jason Kridner <[email protected]>

Acked-by: Jason Kridner <[email protected]>

I confirmed that this fixes the above warning and builds and operates
properly.  As far as other platforms needing this type of patch, it
seems there is a challenge in speaking for all of them, so I hope this
patch can be applied.

> ---
>
>  Patch was compile tested against the latest u-boot-arm.git at:
>  58c583b : net: Check network device driver name
>
>  include/configs/omap3_beagle.h |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h
> index 18c6deb..a891246 100644
> --- a/include/configs/omap3_beagle.h
> +++ b/include/configs/omap3_beagle.h
> @@ -118,7 +118,7 @@
>  #define CONFIG_I2C_MULTI_BUS           1
>
>  /* Probe all devices */
> -#define CONFIG_SYS_I2C_NOPROBES                {0x0, 0x0}
> +#define CONFIG_SYS_I2C_NOPROBES                {{0x0, 0x0}}
>
>  /* USB */
>  #define CONFIG_MUSB_UDC                        1
> --
> 1.7.2.2
>
>
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to