aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/i2c-mxv7.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-imx/i2c-mxv7.c')
-rw-r--r--arch/arm/mach-imx/i2c-mxv7.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/i2c-mxv7.c b/arch/arm/mach-imx/i2c-mxv7.c
index e6c74bf77e..d36347d8e8 100644
--- a/arch/arm/mach-imx/i2c-mxv7.c
+++ b/arch/arm/mach-imx/i2c-mxv7.c
@@ -102,7 +102,7 @@ int setup_i2c(unsigned i2c_index, int speed, int slave_addr,
if (ret)
goto err_idle;
-#ifndef CONFIG_DM_I2C
+#if !CONFIG_IS_ENABLED(DM_I2C)
bus_i2c_init(i2c_index, speed, slave_addr, force_idle_bus, p);
#endif