]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
omap3: beagle: Fix build warning
authorSanjeev Premi <premi@ti.com>
Mon, 5 Sep 2011 00:25:53 +0000 (00:25 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Mon, 12 Sep 2011 15:40:47 +0000 (17:40 +0200)
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 <premi@ti.com>
Cc: Jason Kridner <jkridner@beagleboard.org>
Acked-by: Jason Kridner <jdk@ti.com>
include/configs/omap3_beagle.h

index 18c6debc010f31c90f87e8d3fa64c4f63714c460..a891246f46b92a7e309e977753149a079f8844db 100644 (file)
 #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