summaryrefslogtreecommitdiff
path: root/drivers/rtc/ds12887.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/ds12887.c')
-rw-r--r--drivers/rtc/ds12887.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/ds12887.c b/drivers/rtc/ds12887.c
index 990ebba..fb1825b 100644
--- a/drivers/rtc/ds12887.c
+++ b/drivers/rtc/ds12887.c
@@ -28,7 +28,7 @@
#include <config.h>
#include <rtc.h>
-#if defined(CONFIG_RTC_DS12887) && defined(CONFIG_CMD_DATE)
+#if defined(CONFIG_CMD_DATE)
#define RTC_SECONDS 0x00
#define RTC_SECONDS_ALARM 0x01