aboutsummaryrefslogtreecommitdiff
path: root/board/keymile/common/ivm.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/keymile/common/ivm.c')
-rw-r--r--board/keymile/common/ivm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/keymile/common/ivm.c b/board/keymile/common/ivm.c
index bc8ffd5..9a3a856 100644
--- a/board/keymile/common/ivm.c
+++ b/board/keymile/common/ivm.c
@@ -333,7 +333,7 @@ static int ivm_populate_env(unsigned char *buf, int len, int mac_address_offset)
int ivm_read_eeprom(unsigned char *buf, int len, int mac_address_offset)
{
int ret;
-#ifdef CONFIG_DM_I2C
+#if CONFIG_IS_ENABLED(DM_I2C)
struct udevice *eedev = NULL;
ret = i2c_get_chip_for_busnum(CONFIG_KM_IVM_BUS,