summaryrefslogtreecommitdiff
path: root/drivers/rtc/ds1302.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/ds1302.c')
-rw-r--r--drivers/rtc/ds1302.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/rtc/ds1302.c b/drivers/rtc/ds1302.c
index 87ddd01916..b94163f748 100644
--- a/drivers/rtc/ds1302.c
+++ b/drivers/rtc/ds1302.c
@@ -9,8 +9,6 @@
#include <command.h>
#include <rtc.h>
-#if defined(CONFIG_CMD_DATE)
-
/* GPP Pins */
#define DATA 0x200
#define SCLK 0x400
@@ -328,5 +326,3 @@ int rtc_set(struct rtc_time *tmp)
return 0;
}
-
-#endif