Add twl4030 RTC support for OMAP3 EVM
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Acked-by: Syed Mohammed Khasim <khasim@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
        .ctrl_name      = "internal",
 };
 
+static struct platform_device omap3_evm_twl4030rtc_device = {
+       .name           = "twl4030_rtc",
+       .id             = -1,
+};
+
 static void __init omap3_evm_init_irq(void)
 {
        omap2_init_common_hw();
 
 static struct platform_device *omap3_evm_devices[] __initdata = {
        &omap3_evm_lcd_device,
+#ifdef CONFIG_RTC_DRV_TWL4030
+       &omap3_evm_twl4030rtc_device,
+#endif
 };
 
 static void __init omap3_evm_init(void)