summaryrefslogtreecommitdiff
path: root/drivers/timer/orion-timer.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-12-05 21:04:24 -0500
committerTom Rini <trini@konsulko.com>2022-12-05 21:04:24 -0500
commitd2ad92927ea91ab8cece92a308350602c594dd3e (patch)
tree23ec41dc6f0aff10b800c69396a32ac5ac926817 /drivers/timer/orion-timer.c
parent1c470f32f74248ff4aa145bf033fb6524dc7fc2e (diff)
parent7102d324f6b41741ee74587d43d77b302b1bbd96 (diff)
Merge branch '2022-12-05-Kconfig-migrations-and-renames' into next
- First batch of the patches that end up with scripts/config_whitelist.tx being empty. Mostly migrations and a little bit of code removal and CFG renaming.
Diffstat (limited to 'drivers/timer/orion-timer.c')
-rw-r--r--drivers/timer/orion-timer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/timer/orion-timer.c b/drivers/timer/orion-timer.c
index d0eab3ce781..d588f0cbcd1 100644
--- a/drivers/timer/orion-timer.c
+++ b/drivers/timer/orion-timer.c
@@ -72,7 +72,7 @@ unsigned long notrace timer_early_get_rate(void)
if (IS_ENABLED(CONFIG_ARCH_MVEBU))
return MVEBU_TIMER_FIXED_RATE_25MHZ;
else
- return CONFIG_SYS_TCLK;
+ return CFG_SYS_TCLK;
}
/**
@@ -117,7 +117,7 @@ static int orion_timer_probe(struct udevice *dev)
if (type == INPUT_CLOCK_25MHZ)
uc_priv->clock_rate = MVEBU_TIMER_FIXED_RATE_25MHZ;
else
- uc_priv->clock_rate = CONFIG_SYS_TCLK;
+ uc_priv->clock_rate = CFG_SYS_TCLK;
orion_timer_init(priv->base, type);
return 0;