X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=rtc%2Fds174x.c;h=5f85a68170bb002560084b34a3c8949bef812c2f;hb=a424a8bb2924b90724b944165d3141f1fa8dfe5b;hp=5261e54c187b435242834edc3502efe71a415844;hpb=98b79003c21c2578206003256de4e781d6b36ca8;p=u-boot diff --git a/rtc/ds174x.c b/rtc/ds174x.c index 5261e54c18..5f85a68170 100644 --- a/rtc/ds174x.c +++ b/rtc/ds174x.c @@ -33,7 +33,7 @@ #include #include -#if defined(CONFIG_RTC_DS174x) && ((CONFIG_COMMANDS & CFG_CMD_DATE) || defined(CONFIG_CMD_DATE)) +#if defined(CONFIG_RTC_DS174x) && defined(CONFIG_CMD_DATE) static uchar rtc_read( unsigned int addr ); static void rtc_write( unsigned int addr, uchar val); @@ -199,4 +199,4 @@ static unsigned char bin2bcd (unsigned int n) return (((n / 10) << 4) | (n % 10)); } -#endif /* CONFIG_RTC_MC146818 && CFG_CMD_DATE */ +#endif