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