diff options
Diffstat (limited to 'board/ti/am335x/mux.c')
-rw-r--r-- | board/ti/am335x/mux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/ti/am335x/mux.c b/board/ti/am335x/mux.c index 6fb2c009ba..03adcd2b76 100644 --- a/board/ti/am335x/mux.c +++ b/board/ti/am335x/mux.c @@ -333,7 +333,7 @@ static unsigned short detect_daughter_board_profile(void) { unsigned short val; -#ifndef CONFIG_DM_I2C +#if !CONFIG_IS_ENABLED(DM_I2C) if (i2c_probe(I2C_CPLD_ADDR)) return PROFILE_NONE; |