summaryrefslogtreecommitdiff
path: root/rtc/mpc8xx.c
diff options
context:
space:
mode:
Diffstat (limited to 'rtc/mpc8xx.c')
-rw-r--r--rtc/mpc8xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rtc/mpc8xx.c b/rtc/mpc8xx.c
index 830e56e..33f867a 100644
--- a/rtc/mpc8xx.c
+++ b/rtc/mpc8xx.c
@@ -31,7 +31,7 @@
#include <command.h>
#include <rtc.h>
-#if defined(CONFIG_RTC_MPC8xx) && (CONFIG_COMMANDS & CFG_CMD_DATE)
+#if defined(CONFIG_RTC_MPC8xx) && ((CONFIG_COMMANDS & CFG_CMD_DATE) || defined(CONFIG_CMD_DATE))
/* ------------------------------------------------------------------------- */