]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - rtc/bf5xx_rtc.c
Merge with git://www.denx.de/git/u-boot.git
[karo-tx-uboot.git] / rtc / bf5xx_rtc.c
index 85bbb56e3960cb51e9e98fe5301399ab1ad2e369..8856bb9b5f84a49387c8b2175ec8548d4dd1b5b4 100644 (file)
@@ -49,7 +49,7 @@
 #include <command.h>
 #include <rtc.h>
 
-#if defined(CONFIG_RTC_BFIN) && (CONFIG_COMMANDS & CFG_CMD_DATE)
+#if defined(CONFIG_RTC_BFIN) && defined(CONFIG_CMD_DATE)
 
 #include <asm/blackfin.h>
 #include <asm/arch/bf5xx_rtc.h>
@@ -140,4 +140,4 @@ void rtc_get(struct rtc_time *tmp)
            MIN_TO_SECS(tm_min) + HRS_TO_SECS(tm_hour) + DAYS_TO_SECS(tm_day);
        to_tm(time_in_sec, tmp);
 }
-#endif                         /* CONFIG_RTC_BFIN && CFG_CMD_DATE */
+#endif