aboutsummaryrefslogtreecommitdiff
path: root/drivers/rtc/m48t35ax.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/m48t35ax.c')
-rw-r--r--drivers/rtc/m48t35ax.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/rtc/m48t35ax.c b/drivers/rtc/m48t35ax.c
index 0b035ce..1cc24cc 100644
--- a/drivers/rtc/m48t35ax.c
+++ b/drivers/rtc/m48t35ax.c
@@ -16,8 +16,6 @@
#include <rtc.h>
#include <config.h>
-#if defined(CONFIG_CMD_DATE)
-
static uchar rtc_read (uchar reg);
static void rtc_write (uchar reg, uchar val);
@@ -135,5 +133,3 @@ static void rtc_write (uchar reg, uchar val)
*(unsigned char *)
((CONFIG_SYS_NVRAM_BASE_ADDR + CONFIG_SYS_NVRAM_SIZE - 8) + reg) = val;
}
-
-#endif