diff options
Diffstat (limited to 'board/freescale/common/i2c_common.h')
-rw-r--r-- | board/freescale/common/i2c_common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/common/i2c_common.h b/board/freescale/common/i2c_common.h index 840ad66183..77a7b6aedd 100644 --- a/board/freescale/common/i2c_common.h +++ b/board/freescale/common/i2c_common.h @@ -9,7 +9,7 @@ #define __NXP_I2C_COMMON_H__ /* Common functionality shared by the I2C drivers for VID and the mux. */ -#ifdef CONFIG_DM_I2C +#if CONFIG_IS_ENABLED(DM_I2C) #define DEVICE_HANDLE_T struct udevice * #define I2C_READ(dev, register, data, length) \ |