]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - rtc/max6900.c
Merge with git://www.denx.de/git/u-boot.git
[karo-tx-uboot.git] / rtc / max6900.c
index 73919cd98d0ca3aee0dd8fbd116520ba1e803911..c75a8e04c244b1b1216292ae5de03a8ad2730fcb 100644 (file)
@@ -32,7 +32,7 @@
 #include <rtc.h>
 #include <i2c.h>
 
-#if defined(CONFIG_RTC_MAX6900) && (CONFIG_COMMANDS & CFG_CMD_DATE)
+#if defined(CONFIG_RTC_MAX6900) && defined(CONFIG_CMD_DATE)
 
 #ifndef        CFG_I2C_RTC_ADDR
 #define        CFG_I2C_RTC_ADDR        0x50
@@ -128,4 +128,4 @@ void rtc_reset (void)
 {
 }
 
-#endif /* CONFIG_RTC_MAX6900 && CFG_CMD_DATE */
+#endif