summaryrefslogtreecommitdiff
path: root/drivers/rtc/ds1307.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/ds1307.c')
-rw-r--r--drivers/rtc/ds1307.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/rtc/ds1307.c b/drivers/rtc/ds1307.c
index b20f193b418..11fc14f3f65 100644
--- a/drivers/rtc/ds1307.c
+++ b/drivers/rtc/ds1307.c
@@ -35,8 +35,7 @@
#include <rtc.h>
#include <i2c.h>
-#if (defined(CONFIG_RTC_DS1307) || defined(CONFIG_RTC_DS1338) ) && \
- defined(CONFIG_CMD_DATE)
+#if defined(CONFIG_CMD_DATE)
/*---------------------------------------------------------------------*/
#undef DEBUG_RTC