summaryrefslogtreecommitdiff
path: root/rtc/s3c24x0_rtc.c
diff options
context:
space:
mode:
Diffstat (limited to 'rtc/s3c24x0_rtc.c')
-rw-r--r--rtc/s3c24x0_rtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rtc/s3c24x0_rtc.c b/rtc/s3c24x0_rtc.c
index 9e2191e..0b0b160 100644
--- a/rtc/s3c24x0_rtc.c
+++ b/rtc/s3c24x0_rtc.c
@@ -28,7 +28,7 @@
#include <common.h>
#include <command.h>
-#if defined(CONFIG_RTC_S3C24X0) && (CONFIG_COMMANDS & CFG_CMD_DATE)
+#if defined(CONFIG_RTC_S3C24X0) && ((CONFIG_COMMANDS & CFG_CMD_DATE) || defined(CONFIG_CMD_DATE))
#if defined(CONFIG_S3C2400)
#include <s3c2400.h>