X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=post%2Fdrivers%2Frtc.c;h=8b0f463b8034fc657af77d040e07ef7f79f6a78d;hb=9458f6d83a3b44df1c2ae5c763c4f9fd6e2f9c05;hp=e3da5e64ced488cd7b40d9ea4c8009677e447603;hpb=47310715f4316a3677b206acf9f83adb7949ecd1;p=oweals%2Fu-boot.git 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 */