summaryrefslogtreecommitdiff
path: root/drivers/rtc/ds164x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/ds164x.c')
-rw-r--r--drivers/rtc/ds164x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/ds164x.c b/drivers/rtc/ds164x.c
index 5943f8711df..c621a9eb83b 100644
--- a/drivers/rtc/ds164x.c
+++ b/drivers/rtc/ds164x.c
@@ -37,7 +37,7 @@
#include <rtc.h>
-#if defined(CONFIG_RTC_DS164x) && 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);