summaryrefslogtreecommitdiffstats
path: root/include/exports.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/exports.h')
-rw-r--r--include/exports.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/exports.h b/include/exports.h
index 99436e4132..550cafdc7a 100644
--- a/include/exports.h
+++ b/include/exports.h
@@ -49,7 +49,7 @@ long simple_strtol(const char *cp, char **endp, unsigned int base);
int strcmp(const char *cs, const char *ct);
unsigned long ustrtoul(const char *cp, char **endp, unsigned int base);
unsigned long long ustrtoull(const char *cp, char **endp, unsigned int base);
-#if defined(CONFIG_CMD_I2C) && !defined(CONFIG_DM_I2C)
+#if defined(CONFIG_CMD_I2C) && !CONFIG_IS_ENABLED(DM_I2C)
int i2c_write (uchar, uint, int , uchar* , int);
int i2c_read (uchar, uint, int , uchar* , int);
#endif