summaryrefslogtreecommitdiff
path: root/drivers/rtc/max6900.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/max6900.c')
-rw-r--r--drivers/rtc/max6900.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/rtc/max6900.c b/drivers/rtc/max6900.c
index f5c651bad0..b35186579a 100644
--- a/drivers/rtc/max6900.c
+++ b/drivers/rtc/max6900.c
@@ -15,8 +15,6 @@
#include <rtc.h>
#include <i2c.h>
-#if defined(CONFIG_CMD_DATE)
-
#ifndef CONFIG_SYS_I2C_RTC_ADDR
#define CONFIG_SYS_I2C_RTC_ADDR 0x50
#endif
@@ -104,5 +102,3 @@ int rtc_set (struct rtc_time *tmp)
void rtc_reset (void)
{
}
-
-#endif