diff options
Diffstat (limited to 'drivers/power/twl6030.c')
-rw-r--r-- | drivers/power/twl6030.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/twl6030.c b/drivers/power/twl6030.c index 60a5aaaf19..2b50a56faf 100644 --- a/drivers/power/twl6030.c +++ b/drivers/power/twl6030.c @@ -270,7 +270,7 @@ void twl6030_usb_device_settings() twl6030_i2c_write_u8(TWL6030_CHIP_PM, TWL6030_MISC2, value); } -#ifdef CONFIG_DM_I2C +#if CONFIG_IS_ENABLED(DM_I2C) int twl6030_i2c_write_u8(u8 chip_no, u8 reg, u8 val) { struct udevice *dev; |