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 66e5265167..8b0f463b80 100644
--- a/post/drivers/rtc.c
+++ b/post/drivers/rtc.c
@@ -43,7 +43,7 @@
#include <post.h>
#include <rtc.h>
-#if CONFIG_POST & CFG_POST_RTC
+#if CONFIG_POST & CONFIG_SYS_POST_RTC
static int rtc_post_skip (ulong * diff)
{
@@ -192,4 +192,4 @@ int rtc_post_test (int flags)
return 0;
}
-#endif /* CONFIG_POST & CFG_POST_RTC */
+#endif /* CONFIG_POST & CONFIG_SYS_POST_RTC */