summaryrefslogtreecommitdiff
path: root/drivers/rtc/davinci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/davinci.c')
-rw-r--r--drivers/rtc/davinci.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/rtc/davinci.c b/drivers/rtc/davinci.c
index f03dc56069..b6930bd839 100644
--- a/drivers/rtc/davinci.c
+++ b/drivers/rtc/davinci.c
@@ -9,7 +9,6 @@
#include <asm/io.h>
#include <asm/davinci_rtc.h>
-#if defined(CONFIG_CMD_DATE)
int rtc_get(struct rtc_time *tmp)
{
struct davinci_rtc *rtc = (struct davinci_rtc *)DAVINCI_RTC_BASE;
@@ -79,4 +78,3 @@ void rtc_reset(void)
/* run RTC counter */
writel(0x01, &rtc->ctrl);
}
-#endif