]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] Orion: correctly load mv2120 RTC driver
authorMartin Michlmayr <tbm@cyrius.com>
Sat, 28 Jun 2008 10:56:49 +0000 (12:56 +0200)
committerNicolas Pitre <nico@cam.org>
Mon, 30 Jun 2008 18:25:23 +0000 (14:25 -0400)
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>
arch/arm/mach-orion5x/mv2120-setup.c

index d838bdbc1976e96247ded57bd8f5f70cd3ae4526..f1dcad36b13ced6dc1ad809a534e71bc6cd701ca 100644 (file)
@@ -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,
 };