diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2009-07-20 08:18:47 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2009-08-14 12:40:37 +0200 |
commit | cf87a6e2fe95891575c45ba1a0ecb8cf53c09732 (patch) | |
tree | 569cb46eccc3b23b14fca040a8e505574bf053b0 /arch/arm/mach-mx2/eukrea_cpuimx27.c | |
parent | a961bf380b93741c2191f8efc8f5f1c65224b216 (diff) |
ARM: mxc: Fix i2c_board_info definitions
Fix i2c_board_info definitions - we were defining the 'type' field
of these structures twice since the first argument of I2C_BOARD_INFO
sets this field. Move the second definition into I2C_BOARD_INFO().
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'arch/arm/mach-mx2/eukrea_cpuimx27.c')
-rw-r--r-- | arch/arm/mach-mx2/eukrea_cpuimx27.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-mx2/eukrea_cpuimx27.c b/arch/arm/mach-mx2/eukrea_cpuimx27.c index a2c4181892c..7b187606682 100644 --- a/arch/arm/mach-mx2/eukrea_cpuimx27.c +++ b/arch/arm/mach-mx2/eukrea_cpuimx27.c @@ -135,8 +135,7 @@ static struct imxi2c_platform_data eukrea_cpuimx27_i2c_1_data = { static struct i2c_board_info eukrea_cpuimx27_i2c_devices[] = { { - I2C_BOARD_INFO("rtc-pcf8563", 0x51), - .type = "pcf8563" + I2C_BOARD_INFO("pcf8563", 0x51), }, }; |