summaryrefslogtreecommitdiff
path: root/drivers/rtc/x1205.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/x1205.c')
-rw-r--r--drivers/rtc/x1205.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/x1205.c b/drivers/rtc/x1205.c
index 0e18139..7025cf4 100644
--- a/drivers/rtc/x1205.c
+++ b/drivers/rtc/x1205.c
@@ -40,7 +40,7 @@
#include <i2c.h>
#include <bcd.h>
-#if defined(CONFIG_RTC_X1205) && defined(CONFIG_CMD_DATE)
+#if defined(CONFIG_CMD_DATE)
#define CCR_SEC 0
#define CCR_MIN 1