X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=post%2Fdrivers%2Frtc.c;h=8b0f463b8034fc657af77d040e07ef7f79f6a78d;hb=310ae55efe14aa7923b16c718cbdb22ec364b18b;hp=e3da5e64ced488cd7b40d9ea4c8009677e447603;hpb=493a2b1dc97367e904bf83869501f6290f3b374e;p=u-boot diff --git a/post/drivers/rtc.c b/post/drivers/rtc.c index e3da5e64ce..8b0f463b80 100644 --- a/post/drivers/rtc.c +++ b/post/drivers/rtc.c @@ -40,12 +40,10 @@ * nonleap-years. */ -#ifdef CONFIG_POST - #include #include -#if CONFIG_POST & CFG_POST_RTC +#if CONFIG_POST & CONFIG_SYS_POST_RTC static int rtc_post_skip (ulong * diff) { @@ -194,5 +192,4 @@ int rtc_post_test (int flags) return 0; } -#endif /* CONFIG_POST & CFG_POST_RTC */ -#endif /* CONFIG_POST */ +#endif /* CONFIG_POST & CONFIG_SYS_POST_RTC */