]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - rtc/ds1306.c
Merge with git://www.denx.de/git/u-boot.git
[karo-tx-uboot.git] / rtc / ds1306.c
index e01e1ceae97dc5d6ec21e19be5a4132117150747..89e433dabd8894cddece689ebb84c0cd31e33a6d 100644 (file)
@@ -36,7 +36,7 @@
 #include <rtc.h>
 #include <spi.h>
 
-#if defined(CONFIG_RTC_DS1306) && (CONFIG_COMMANDS & CFG_CMD_DATE)
+#if defined(CONFIG_RTC_DS1306) && defined(CONFIG_CMD_DATE)
 
 #define        RTC_SECONDS             0x00
 #define        RTC_MINUTES             0x01