summaryrefslogtreecommitdiff
path: root/drivers/rtc/m41t11.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/m41t11.c')
-rw-r--r--drivers/rtc/m41t11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/m41t11.c b/drivers/rtc/m41t11.c
index fce00d9353..372731005b 100644
--- a/drivers/rtc/m41t11.c
+++ b/drivers/rtc/m41t11.c
@@ -43,7 +43,7 @@
#endif
*/
-#if defined(CONFIG_RTC_M41T11) && defined(CFG_I2C_RTC_ADDR) && defined(CONFIG_CMD_DATE)
+#if defined(CFG_I2C_RTC_ADDR) && defined(CONFIG_CMD_DATE)
static unsigned bcd2bin (uchar n)
{