From: Tom Rini Date: Sun, 4 Dec 2022 15:04:06 +0000 (-0500) Subject: global: Migrate CONFIG_FTRTC010_PCLK to CFG X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=d2cd9f4121f5638dae4030f35826f1d6624a2c00;p=u-boot.git global: Migrate CONFIG_FTRTC010_PCLK to CFG Perform a simple rename of CONFIG_FTRTC010_PCLK to CFG_FTRTC010_PCLK Signed-off-by: Tom Rini --- diff --git a/drivers/rtc/ftrtc010.c b/drivers/rtc/ftrtc010.c index 768c8cdd50..e384922f47 100644 --- a/drivers/rtc/ftrtc010.c +++ b/drivers/rtc/ftrtc010.c @@ -80,7 +80,7 @@ int rtc_get(struct rtc_time *tmp) debug("%s(): record register: %x\n", __func__, readl(&rtc->record)); -#ifdef CONFIG_FTRTC010_PCLK +#ifdef CFG_FTRTC010_PCLK now = (ftrtc010_time() + readl(&rtc->record)) / RTC_DIV_COUNT; #else /* CFG_FTRTC010_EXTCLK */ now = ftrtc010_time() + readl(&rtc->record);