summaryrefslogtreecommitdiff
path: root/post/drivers/rtc.c
diff options
context:
space:
mode:
Diffstat (limited to 'post/drivers/rtc.c')
-rw-r--r--post/drivers/rtc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/post/drivers/rtc.c b/post/drivers/rtc.c
index cfed56b680..cc7a49847c 100644
--- a/post/drivers/rtc.c
+++ b/post/drivers/rtc.c
@@ -26,7 +26,7 @@
#include <post.h>
#include <rtc.h>
-#if CFG_POST & CONFIG_SYS_POST_RTC
+#if CFG_POST & CFG_SYS_POST_RTC
static int rtc_post_skip (ulong * diff)
{
@@ -189,4 +189,4 @@ int rtc_post_test (int flags)
return 0;
}
-#endif /* CFG_POST & CONFIG_SYS_POST_RTC */
+#endif /* CFG_POST & CFG_SYS_POST_RTC */