aboutsummaryrefslogtreecommitdiff
path: root/rtc/ds1302.c
diff options
context:
space:
mode:
Diffstat (limited to 'rtc/ds1302.c')
-rw-r--r--rtc/ds1302.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rtc/ds1302.c b/rtc/ds1302.c
index 98dce899a97..55af1302d57 100644
--- a/rtc/ds1302.c
+++ b/rtc/ds1302.c
@@ -9,7 +9,7 @@
#include <command.h>
#include <rtc.h>
-#if defined(CONFIG_RTC_DS1302) && (CONFIG_COMMANDS & CFG_CMD_DATE)
+#if defined(CONFIG_RTC_DS1302) && defined(CONFIG_CMD_DATE)
/* GPP Pins */
#define DATA 0x200