diff mbox

DaVinci: DM365: Remove #ifdef from board file to load RTC as a module properly

Message ID 1258128768-18040-1-git-send-email-miguel.aguilar@ridgerun.com (mailing list archive)
State Accepted
Headers show

Commit Message

miguel.aguilar@ridgerun.com Nov. 13, 2009, 4:12 p.m. UTC
None
diff mbox

Patch

diff --git a/arch/arm/mach-davinci/board-dm365-evm.c b/arch/arm/mach-davinci/board-dm365-evm.c
index ad0cb3f..8d23972 100644
--- a/arch/arm/mach-davinci/board-dm365-evm.c
+++ b/arch/arm/mach-davinci/board-dm365-evm.c
@@ -513,14 +513,11 @@  static __init void dm365_evm_init(void)
 	evm_init_cpld();
 
 	dm365_init_asp(&dm365_evm_snd_data);
+	dm365_init_rtc();
 
 #ifdef CONFIG_KEYBOARD_DAVINCI
 	dm365_init_ks(&dm365evm_ks_data);
 #endif
-
-#ifdef CONFIG_RTC_DRV_DAVINCI
-	dm365_init_rtc();
-#endif
 }
 
 static __init void dm365_evm_irq_init(void)