[PATCH 040/149] global: Migrate CONFIG_FTRTC010_EXTCLK to CFG

Tom Rini trini at konsulko.com
Sun Dec 4 16:04:05 CET 2022


Perform a simple rename of CONFIG_FTRTC010_EXTCLK to CFG_FTRTC010_EXTCLK

Signed-off-by: Tom Rini <trini at konsulko.com>
---
 drivers/rtc/ftrtc010.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/rtc/ftrtc010.c b/drivers/rtc/ftrtc010.c
index 67c2b6e320a7..768c8cdd50b7 100644
--- a/drivers/rtc/ftrtc010.c
+++ b/drivers/rtc/ftrtc010.c
@@ -82,7 +82,7 @@ int rtc_get(struct rtc_time *tmp)
 
 #ifdef CONFIG_FTRTC010_PCLK
 	now = (ftrtc010_time() + readl(&rtc->record)) / RTC_DIV_COUNT;
-#else /* CONFIG_FTRTC010_EXTCLK */
+#else /* CFG_FTRTC010_EXTCLK */
 	now = ftrtc010_time() + readl(&rtc->record);
 #endif
 
-- 
2.25.1



More information about the U-Boot mailing list