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 2b8ec3d3f9..a5799838e0 100644
--- a/include/_exports.h
+++ b/include/_exports.h
@@ -15,7 +15,7 @@ EXPORT_FUNC(do_reset)
EXPORT_FUNC(getenv)
EXPORT_FUNC(setenv)
EXPORT_FUNC(simple_strtoul)
-#if (CONFIG_COMMANDS & CFG_CMD_I2C)
+#if (CONFIG_COMMANDS & CFG_CMD_I2C) || defined(CONFIG_CMD_I2C)
EXPORT_FUNC(i2c_write)
EXPORT_FUNC(i2c_read)
#endif /* CFG_CMD_I2C */
OpenPOWER on IntegriCloud