Explorar o código

MPC8360ERDK: fix incorrect initialization of CFG_I2C_NOPROBES

Signed-off-by: Wolfgang Denk <wd@denx.de>
Wolfgang Denk %!s(int64=17) %!d(string=hai) anos
pai
achega
2b2f43ed6a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      include/configs/MPC8360ERDK.h

+ 1 - 1
include/configs/MPC8360ERDK.h

@@ -241,7 +241,7 @@
 #define CONFIG_I2C_CMD_TREE
 #define CFG_I2C_SPEED	400000	/* I2C speed and slave address */
 #define CFG_I2C_SLAVE	0x7F
-#define CFG_I2C_NOPROBES	{0x52} /* Don't probe these addrs */
+#define CFG_I2C_NOPROBES	{{0x52}} /* Don't probe these addrs */
 #define CFG_I2C_OFFSET	0x3000
 #define CFG_I2C2_OFFSET 0x3100