]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ARM:OMAP2: follow new twl4030 RTC init convention in Overo board file
authorSteve Sakoman <sakoman@gmail.com>
Sun, 14 Sep 2008 05:19:57 +0000 (22:19 -0700)
committerTony Lindgren <tony@atomide.com>
Tue, 23 Sep 2008 10:52:43 +0000 (13:52 +0300)
Overo was omitted from the changes in 74fcfe9c589f1060b5e5a791e9c0c54212d7c1b8

This patch brings Overo RTC setup into line with the other omap boards

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-overo.c

index ccd3f2d4924022417269594429a8435f6b4b597a..a41e6faace6e8bbb4aff682463d0d1f5839d9bd3 100644 (file)
@@ -176,11 +176,6 @@ static void __init overo_init_irq(void)
        omap_gpio_init();
 }
 
-static struct platform_device overo_twl4030rtc_device = {
-       .name           = "twl4030_rtc",
-       .id             = -1,
-};
-
 static struct platform_device overo_lcd_device = {
        .name           = "overo_lcd",
        .id             = -1,
@@ -197,9 +192,6 @@ static struct omap_board_config_kernel overo_config[] __initdata = {
 
 static struct platform_device *overo_devices[] __initdata = {
        &overo_lcd_device,
-#ifdef CONFIG_RTC_DRV_TWL4030
-       &overo_twl4030rtc_device,
-#endif
 };
 
 static void __init overo_init(void)