summaryrefslogtreecommitdiff
path: root/drivers/rtc/m48t35ax.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/m48t35ax.c')
-rw-r--r--drivers/rtc/m48t35ax.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/m48t35ax.c b/drivers/rtc/m48t35ax.c
index be29279d033..353a30e1f28 100644
--- a/drivers/rtc/m48t35ax.c
+++ b/drivers/rtc/m48t35ax.c
@@ -33,7 +33,7 @@
#include <rtc.h>
#include <config.h>
-#if defined(CONFIG_RTC_M48T35A) && defined(CONFIG_CMD_DATE)
+#if defined(CONFIG_CMD_DATE)
static uchar rtc_read (uchar reg);
static void rtc_write (uchar reg, uchar val);