summaryrefslogtreecommitdiff
path: root/drivers/rtc/pcf8563.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/pcf8563.c')
-rw-r--r--drivers/rtc/pcf8563.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/rtc/pcf8563.c b/drivers/rtc/pcf8563.c
index e2fa6b6aab..a839d6cc98 100644
--- a/drivers/rtc/pcf8563.c
+++ b/drivers/rtc/pcf8563.c
@@ -15,8 +15,6 @@
#include <rtc.h>
#include <i2c.h>
-#if defined(CONFIG_CMD_DATE)
-
static uchar rtc_read (uchar reg);
static void rtc_write (uchar reg, uchar val);
@@ -117,5 +115,3 @@ static void rtc_write (uchar reg, uchar val)
{
i2c_reg_write (CONFIG_SYS_I2C_RTC_ADDR, reg, val);
}
-
-#endif