summaryrefslogtreecommitdiff
path: root/rtc/ds164x.c
diff options
context:
space:
mode:
Diffstat (limited to 'rtc/ds164x.c')
-rw-r--r--rtc/ds164x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rtc/ds164x.c b/rtc/ds164x.c
index 36a0fb4..e82ca59 100644
--- a/rtc/ds164x.c
+++ b/rtc/ds164x.c
@@ -37,7 +37,7 @@
#include <rtc.h>
-#if defined(CONFIG_RTC_DS164x) && ((CONFIG_COMMANDS & CFG_CMD_DATE) || defined(CONFIG_CMD_DATE))
+#if defined(CONFIG_RTC_DS164x) && defined(CONFIG_CMD_DATE)
static uchar rtc_read(unsigned int addr );
static void rtc_write(unsigned int addr, uchar val);