X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-uboot.git;a=blobdiff_plain;f=rtc%2Fds3231.c;fp=rtc%2Fds3231.c;h=fe11b869f55ac1aa384864a2ab29a00919639680;hp=208f1522b9dafc02bd458491960116444f4dccdc;hb=a593814f2be0c9cdc3133cd550b167b8a988328f;hpb=67350568f9d46e66c21829f3513b3db0caeb948b diff --git a/rtc/ds3231.c b/rtc/ds3231.c index 208f1522b9..fe11b869f5 100644 --- a/rtc/ds3231.c +++ b/rtc/ds3231.c @@ -33,7 +33,7 @@ #include #include -#if defined(CONFIG_RTC_DS3231) && ((CONFIG_COMMANDS & CFG_CMD_DATE) || defined(CONFIG_CMD_DATE)) +#if defined(CONFIG_RTC_DS3231) && defined(CONFIG_CMD_DATE) /*---------------------------------------------------------------------*/ #undef DEBUG_RTC @@ -190,4 +190,4 @@ static unsigned char bin2bcd (unsigned int n) return (((n / 10) << 4) | (n % 10)); } -#endif /* (CONFIG_RTC_DS3231) && (CONFIG_COMMANDS & CFG_CMD_DATE) */ +#endif