summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/mx7ulp/clock.c
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2019-07-22 01:24:53 +0000
committerStefano Babic <sbabic@denx.de>2019-10-08 16:35:16 +0200
commit61bf6173cd65f8c937c40759c923ba52ca03374b (patch)
tree031396bcdd000413e8c4f04df790a545556a88f5 /arch/arm/mach-imx/mx7ulp/clock.c
parent911d7d356ab0f3e9dae007f3a864e425d27be585 (diff)
i.MX7ULP: Fix wrong i2c configuration name
Wrong I2c driver configuration name is used in codes, so I2c driver is not built. Correct it. Signed-off-by: Ye Li <ye.li@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'arch/arm/mach-imx/mx7ulp/clock.c')
-rw-r--r--arch/arm/mach-imx/mx7ulp/clock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/mx7ulp/clock.c b/arch/arm/mach-imx/mx7ulp/clock.c
index dc317fe810..e333c7815b 100644
--- a/arch/arm/mach-imx/mx7ulp/clock.c
+++ b/arch/arm/mach-imx/mx7ulp/clock.c
@@ -72,7 +72,7 @@ u32 get_lpuart_clk(void)
return pcc_clock_get_rate(lpuart_pcc_clks[index - 4]);
}
-#ifdef CONFIG_SYS_LPI2C_IMX
+#ifdef CONFIG_SYS_I2C_IMX_LPI2C
int enable_i2c_clk(unsigned char enable, unsigned i2c_num)
{
/* Set parent to FIRC DIV2 clock */