]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - rtc/date.c
Merge with git://www.denx.de/git/u-boot.git
[karo-tx-uboot.git] / rtc / date.c
index b5f8c48eb357075d380d063a1cfa214610fc8c22..a83a7235ab619a333b41c3cd74eb63ee0648eb19 100644 (file)
@@ -29,7 +29,7 @@
 #include <command.h>
 #include <rtc.h>
 
-#if (CONFIG_COMMANDS & CFG_CMD_DATE) || defined(CONFIG_TIMESTAMP)
+#if defined(CONFIG_CMD_DATE) || defined(CONFIG_TIMESTAMP)
 
 #define FEBRUARY               2
 #define        STARTOFTIME             1970
@@ -153,4 +153,4 @@ mktime (unsigned int year, unsigned int mon,
        )*60 + sec; /* finally seconds */
 }
 
-#endif /* CFG_CMD_DATE */
+#endif