提交 c1cb59fd 编写于 作者: P Paul Bolle 提交者: Nicolas Ferre

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: NPaul Bolle <pebolle@tiscali.nl>
Signed-off-by: NNicolas Ferre <nicolas.ferre@atmel.com>
上级 b4084bcf
无相关合并请求
......@@ -253,8 +253,7 @@ static struct gpio_led cpu9krea_leds[] = {
static struct i2c_board_info __initdata cpu9krea_i2c_devices[] = {
{
I2C_BOARD_INFO("rtc-ds1307", 0x68),
.type = "ds1339",
I2C_BOARD_INFO("ds1339", 0x68),
},
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部