public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] omap3: beagle: Fix build warning
@ 2011-09-05 10:25 Sanjeev Premi
  2011-09-05 11:35 ` Albert ARIBAUD
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Sanjeev Premi @ 2011-09-05 10:25 UTC (permalink / raw)
  To: u-boot

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>
---

 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

^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2011-09-07 21:40 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-05 10:25 [U-Boot] [PATCH] omap3: beagle: Fix build warning Sanjeev Premi
2011-09-05 11:35 ` Albert ARIBAUD
2011-09-05 11:47   ` Premi, Sanjeev
2011-09-05 13:30     ` Heiko Schocher
2011-09-05 14:42       ` Premi, Sanjeev
2011-09-06 22:00 ` Jason Kridner
2011-09-07  6:11 ` Albert ARIBAUD
2011-09-07  7:41   ` Stefano Babic
2011-09-07  8:47     ` Premi, Sanjeev
2011-09-07 13:04       ` Albert ARIBAUD
2011-09-07 14:12         ` Paulraj, Sandeep
2011-09-07 21:40         ` Joel A Fernandes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox