Commit cdd3c5ec authored by Martin Michlmayr's avatar Martin Michlmayr Committed by Nicolas Pitre

[ARM] Orion: correctly load mv2120 RTC driver

After Jean Delvare's change "i2c: Convert most new-style drivers
to use module aliasing" (3760f736),
loading rtc-xxx from platform code fails.  Update mv2120-setup.c so
that the driver is loaded correctly.
Signed-off-by: default avatarMartin Michlmayr <tbm@cyrius.com>
Signed-off-by: default avatarLennert Buytenhek <buytenh@marvell.com>
parent 9e956850
...@@ -133,7 +133,7 @@ static struct orion5x_mpp_mode mv2120_mpp_modes[] __initdata = { ...@@ -133,7 +133,7 @@ static struct orion5x_mpp_mode mv2120_mpp_modes[] __initdata = {
}; };
static struct i2c_board_info __initdata mv2120_i2c_rtc = { static struct i2c_board_info __initdata mv2120_i2c_rtc = {
I2C_BOARD_INFO("rtc-pcf8563", 0x51), I2C_BOARD_INFO("pcf8563", 0x51),
.irq = 0, .irq = 0,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment