summaryrefslogtreecommitdiff
path: root/rtc/mcfrtc.c
diff options
context:
space:
mode:
Diffstat (limited to 'rtc/mcfrtc.c')
-rw-r--r--rtc/mcfrtc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rtc/mcfrtc.c b/rtc/mcfrtc.c
index 0be587426c0..76bb5107f6a 100644
--- a/rtc/mcfrtc.c
+++ b/rtc/mcfrtc.c
@@ -28,7 +28,7 @@
#include <asm/immap.h>
#include <asm/rtc.h>
-#if defined(CONFIG_MCFRTC) && (CONFIG_COMMANDS & CFG_CMD_DATE)
+#if defined(CONFIG_MCFRTC) && defined(CONFIG_CMD_DATE)
#undef RTC_DEBUG
@@ -118,4 +118,4 @@ void rtc_reset(void)
rtc->cr |= RTC_CR_SWR;
}
-#endif /* CONFIG_MCFRTC && CFG_CMD_DATE */
+#endif /* CONFIG_MCFRTC && CONFIG_CMD_DATE */