summaryrefslogtreecommitdiff
path: root/drivers/rtc/ds174x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/ds174x.c')
-rw-r--r--drivers/rtc/ds174x.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/rtc/ds174x.c b/drivers/rtc/ds174x.c
index b6daf59e80..94f943d97a 100644
--- a/drivers/rtc/ds174x.c
+++ b/drivers/rtc/ds174x.c
@@ -16,8 +16,6 @@
#include <command.h>
#include <rtc.h>
-#if defined(CONFIG_CMD_DATE)
-
static uchar rtc_read( unsigned int addr );
static void rtc_write( unsigned int addr, uchar val);
@@ -172,5 +170,3 @@ static void rtc_write( unsigned int addr, uchar val )
#endif
out8( addr, val );
}
-
-#endif