summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2008-10-08 15:36:39 -0500
committerAndrew Fleming-AFLEMING <afleming@freescale.com>2008-10-08 15:43:28 -0500
commitf3bf9273939ffe1a60a32a2eef909097f15df56b (patch)
tree17291a33859fbac91d0e1cce6133a67fe5082574 /include
parentdffd2446fb041f38ef034b0fcf41e51e5e489159 (diff)
downloadu-boot-imx-f3bf9273939ffe1a60a32a2eef909097f15df56b.zip
u-boot-imx-f3bf9273939ffe1a60a32a2eef909097f15df56b.tar.gz
u-boot-imx-f3bf9273939ffe1a60a32a2eef909097f15df56b.tar.bz2
MPC8572DS: Fix compile warnings
Commit 445a7b38308eb05b41de74165b20855db58c7ee5 introduced the following compile warnings: cmd_i2c.c:112: warning: missing braces around initializer cmd_i2c.c:112: warning: (near initialization for 'i2c_no_probes[0]') Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include')
-rw-r--r--include/configs/MPC8572DS.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/MPC8572DS.h b/include/configs/MPC8572DS.h
index fbe7b61..4114a42 100644
--- a/include/configs/MPC8572DS.h
+++ b/include/configs/MPC8572DS.h
@@ -299,7 +299,7 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
#define CFG_I2C_SPEED 400000 /* I2C speed and slave address */
#define CFG_I2C_EEPROM_ADDR 0x57
#define CFG_I2C_SLAVE 0x7F
-#define CFG_I2C_NOPROBES {0,0x29} /* Don't probe these addrs */
+#define CFG_I2C_NOPROBES {{0,0x29}}/* Don't probe these addrs */
#define CFG_I2C_OFFSET 0x3000
#define CFG_I2C2_OFFSET 0x3100