Browse Source

[ARM] Orion: correctly load mv2120 RTC driver

After Jean Delvare's change "i2c: Convert most new-style drivers
to use module aliasing" (3760f736716f74bdc62a4ba5406934338da93eb2),
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>
Martin Michlmayr 17 years ago
parent
commit
cdd3c5ec1e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/arm/mach-orion5x/mv2120-setup.c

+ 1 - 1
arch/arm/mach-orion5x/mv2120-setup.c

@@ -133,7 +133,7 @@ static struct orion5x_mpp_mode mv2120_mpp_modes[] __initdata = {
 };
 
 static struct i2c_board_info __initdata mv2120_i2c_rtc = {
-	I2C_BOARD_INFO("rtc-pcf8563", 0x51),
+	I2C_BOARD_INFO("pcf8563", 0x51),
 	.irq	= 0,
 };