[ARM] Orion: correctly load mv2120 RTC driver
After Jean Delvare's change "i2c: Convert most new-style drivers
to use module aliasing" (3760f73671
),
loading rtc-xxx from platform code fails. Update mv2120-setup.c so
that the driver is loaded correctly.
Signed-off-by: Martin Michlmayr <tbm@cyrius.com>
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
This commit is contained in:

committed by
Nicolas Pitre

parent
9e95685084
commit
cdd3c5ec1e
@@ -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,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user