diff options
author | Paul Bolle <pebolle@tiscali.nl> | 2012-05-24 10:30:29 -0400 |
---|---|---|
committer | Nicolas Ferre <nicolas.ferre@atmel.com> | 2012-07-02 10:18:12 -0400 |
commit | c1cb59fde7d1570e23d97d9b2a988760f732e28b (patch) | |
tree | 80a1343b4b2b5bbef9a1bf2e073a2feb8851c6f9 | |
parent | b4084bcf5ae833e049b0c428868de7e4efae2e4f (diff) |
ARM: at91: set i2c_board_info.type to "ds1339" directly
The single element of the cpu9krea_i2c_devices array (of type struct
i2c_board_info) has its "type" member set twice. First to "rtc-ds1307"
(through the I2C_BOARD_INFO macro) and then directly to "ds1339". Just
set it (once and) directly to "ds1339" instead.
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
-rw-r--r-- | arch/arm/mach-at91/board-cpu9krea.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-at91/board-cpu9krea.c b/arch/arm/mach-at91/board-cpu9krea.c index 69951ec7dbf..ece0d76fd0f 100644 --- a/arch/arm/mach-at91/board-cpu9krea.c +++ b/arch/arm/mach-at91/board-cpu9krea.c | |||
@@ -253,8 +253,7 @@ static struct gpio_led cpu9krea_leds[] = { | |||
253 | 253 | ||
254 | static struct i2c_board_info __initdata cpu9krea_i2c_devices[] = { | 254 | static struct i2c_board_info __initdata cpu9krea_i2c_devices[] = { |
255 | { | 255 | { |
256 | I2C_BOARD_INFO("rtc-ds1307", 0x68), | 256 | I2C_BOARD_INFO("ds1339", 0x68), |
257 | .type = "ds1339", | ||
258 | }, | 257 | }, |
259 | }; | 258 | }; |
260 | 259 | ||