X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=rtc%2Fm48t35ax.c;h=0a0ffa8aac12fd9844037c78e91f947ea790a853;hb=3a82d5915498fe1c347de38d30323853e54f50df;hp=6c38a538b9f46af638dc39cb883bd8a949dbfe8a;hpb=affae2bff825c1a8d2cfeaf7b270188d251d39d2;p=u-boot diff --git a/rtc/m48t35ax.c b/rtc/m48t35ax.c index 6c38a538b9..0a0ffa8aac 100644 --- a/rtc/m48t35ax.c +++ b/rtc/m48t35ax.c @@ -33,7 +33,7 @@ #include #include -#if defined(CONFIG_RTC_M48T35A) && (CONFIG_COMMANDS & CFG_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); @@ -163,4 +163,4 @@ static unsigned char bin2bcd (unsigned int n) return (((n / 10) << 4) | (n % 10)); } -#endif /* CONFIG_RTC_M48T35A && CFG_CMD_DATE */ +#endif