aboutsummaryrefslogtreecommitdiff
path: root/drivers/power/power_fsl.c
diff options
context:
space:
mode:
authorTom Rini2022-10-28 20:27:13 -0400
committerTom Rini2022-11-10 10:08:55 -0500
commit6cc04547cb3bbd3a3d78947f200acbae19e3c67f (patch)
tree518a634e223bfb02d08ca359331a4ec08c20513c /drivers/power/power_fsl.c
parent5155207ae1a0797a99c0a5f4e99741960ff04697 (diff)
global: Migrate CONFIG_SYS_FSL* symbols to the CFG_SYS namespace
Migrate all of COFIG_SYS_FSL* to the CFG_SYS namespace. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/power/power_fsl.c')
-rw-r--r--drivers/power/power_fsl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/power_fsl.c b/drivers/power/power_fsl.c
index a163300ab6b..7180b5127a5 100644
--- a/drivers/power/power_fsl.c
+++ b/drivers/power/power_fsl.c
@@ -47,7 +47,7 @@ int pmic_init(unsigned char bus)
p->hw.spi.prepare_tx = pmic_spi_prepare_tx;
#elif defined(CONFIG_POWER_I2C)
p->interface = PMIC_I2C;
- p->hw.i2c.addr = CONFIG_SYS_FSL_PMIC_I2C_ADDR;
+ p->hw.i2c.addr = CFG_SYS_FSL_PMIC_I2C_ADDR;
p->hw.i2c.tx_num = FSL_PMIC_I2C_LENGTH;
#else
#error "You must select CONFIG_POWER_SPI or CONFIG_POWER_I2C"