summaryrefslogtreecommitdiff
path: root/drivers/rtc/ds174x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/ds174x.c')
-rw-r--r--drivers/rtc/ds174x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/ds174x.c b/drivers/rtc/ds174x.c
index eb3ca88..3f486b1 100644
--- a/drivers/rtc/ds174x.c
+++ b/drivers/rtc/ds174x.c
@@ -33,7 +33,7 @@
#include <command.h>
#include <rtc.h>
-#if defined(CONFIG_RTC_DS174x) && defined(CONFIG_CMD_DATE)
+#if defined(CONFIG_CMD_DATE)
static uchar rtc_read( unsigned int addr );
static void rtc_write( unsigned int addr, uchar val);