summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-12-04 10:04:12 -0500
committerTom Rini <trini@konsulko.com>2022-12-23 10:10:40 -0500
commite6014294dd5930f3573b9b5883349b209df6f3e2 (patch)
treebcd8543288533486583951c6f883bf5f1b2d209b /drivers
parentcdbf8459d017143dba1e798fecbd1046f98a7ece (diff)
downloadu-boot-e6014294dd5930f3573b9b5883349b209df6f3e2.tar.gz
u-boot-e6014294dd5930f3573b9b5883349b209df6f3e2.tar.bz2
u-boot-e6014294dd5930f3573b9b5883349b209df6f3e2.zip
global: Migrate CONFIG_IMX6_PWM_PER_CLK to CFG
Perform a simple rename of CONFIG_IMX6_PWM_PER_CLK to CFG_IMX6_PWM_PER_CLK Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/pwm/pwm-imx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pwm/pwm-imx.c b/drivers/pwm/pwm-imx.c
index 9b8a8c189d..8fbb40cc27 100644
--- a/drivers/pwm/pwm-imx.c
+++ b/drivers/pwm/pwm-imx.c
@@ -76,7 +76,7 @@ int pwm_imx_get_parms(int period_ns, int duty_ns, unsigned long *period_c,
* value here as a define. Replace it when we have the clock
* framework.
*/
- c = CONFIG_IMX6_PWM_PER_CLK;
+ c = CFG_IMX6_PWM_PER_CLK;
c = c * period_ns;
do_div(c, 1000000000);
*period_c = c;