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