Skip to content
Snippets Groups Projects
Commit f3bf9273 authored by Kumar Gala's avatar Kumar Gala Committed by Andrew Fleming-AFLEMING
Browse files

MPC8572DS: Fix compile warnings


Commit 445a7b38 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: default avatarKumar Gala <galak@kernel.crashing.org>
parent dffd2446
No related branches found
No related tags found
No related merge requests found
...@@ -299,7 +299,7 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy); ...@@ -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_SPEED 400000 /* I2C speed and slave address */
#define CFG_I2C_EEPROM_ADDR 0x57 #define CFG_I2C_EEPROM_ADDR 0x57
#define CFG_I2C_SLAVE 0x7F #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_I2C_OFFSET 0x3000
#define CFG_I2C2_OFFSET 0x3100 #define CFG_I2C2_OFFSET 0x3100
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment