summaryrefslogtreecommitdiff
path: root/drivers/rtc/ds1556.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/ds1556.c')
-rw-r--r--drivers/rtc/ds1556.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/rtc/ds1556.c b/drivers/rtc/ds1556.c
index 2c496f5..f95f28e 100644
--- a/drivers/rtc/ds1556.c
+++ b/drivers/rtc/ds1556.c
@@ -36,8 +36,7 @@
#include <command.h>
#include <rtc.h>
-
-#if defined(CONFIG_RTC_DS1556) && 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);