]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - rtc/bf5xx_rtc.c
rtc/: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).
[karo-tx-uboot.git] / rtc / bf5xx_rtc.c
index 85bbb56e3960cb51e9e98fe5301399ab1ad2e369..b10be813cb63b8c1c02dd3fe45748e70466d0e3f 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) && ((CONFIG_COMMANDS & CFG_CMD_DATE) || defined(CONFIG_CMD_DATE))
 
 #include <asm/blackfin.h>
 #include <asm/arch/bf5xx_rtc.h>