aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/mach-pca100.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-09-28 16:04:01 -0400
committerSascha Hauer <s.hauer@pengutronix.de>2010-10-01 03:33:09 -0400
commitbd9e310dca15c9987256f67af19f9f42426e7493 (patch)
tree354e5ad18b27dfc904f043c5e8f53a03924518a6 /arch/arm/mach-imx/mach-pca100.c
parent214b43100fd59e55fcd265329aafd14ab01ec30d (diff)
ARM: imx/pca100: only specify i2c device type once
The first argument to I2C_BOARD_INFO is used to assign .type, so it should not be specified a second time. For the rtc-pcf8563/pcf8563 entry gcc preferred pcf8563, so did I. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx/mach-pca100.c')
-rw-r--r--arch/arm/mach-imx/mach-pca100.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/mach-imx/mach-pca100.c b/arch/arm/mach-imx/mach-pca100.c
index 197dbb8afe9f..1247ce9dabad 100644
--- a/arch/arm/mach-imx/mach-pca100.c
+++ b/arch/arm/mach-imx/mach-pca100.c
@@ -192,11 +192,9 @@ static struct i2c_board_info pca100_i2c_devices[] = {
192 I2C_BOARD_INFO("at24", 0x52), /* E0=0, E1=1, E2=0 */ 192 I2C_BOARD_INFO("at24", 0x52), /* E0=0, E1=1, E2=0 */
193 .platform_data = &board_eeprom, 193 .platform_data = &board_eeprom,
194 }, { 194 }, {
195 I2C_BOARD_INFO("rtc-pcf8563", 0x51), 195 I2C_BOARD_INFO("pcf8563", 0x51),
196 .type = "pcf8563"
197 }, { 196 }, {
198 I2C_BOARD_INFO("lm75", 0x4a), 197 I2C_BOARD_INFO("lm75", 0x4a),
199 .type = "lm75"
200 } 198 }
201}; 199};
202 200