summaryrefslogtreecommitdiff
path: root/rtc/bf5xx_rtc.c
diff options
context:
space:
mode:
Diffstat (limited to 'rtc/bf5xx_rtc.c')
-rw-r--r--rtc/bf5xx_rtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rtc/bf5xx_rtc.c b/rtc/bf5xx_rtc.c
index b10be81..17a19eb 100644
--- a/rtc/bf5xx_rtc.c
+++ b/rtc/bf5xx_rtc.c
@@ -49,7 +49,7 @@
#include <command.h>
#include <rtc.h>
-#if defined(CONFIG_RTC_BFIN) && ((CONFIG_COMMANDS & CFG_CMD_DATE) || defined(CONFIG_CMD_DATE))
+#if defined(CONFIG_RTC_BFIN) && defined(CONFIG_CMD_DATE)
#include <asm/blackfin.h>
#include <asm/arch/bf5xx_rtc.h>