summaryrefslogtreecommitdiff
path: root/include/_exports.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/_exports.h')
-rw-r--r--include/_exports.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/_exports.h b/include/_exports.h
index a4e1561..17cb91b 100644
--- a/include/_exports.h
+++ b/include/_exports.h
@@ -10,3 +10,7 @@ EXPORT_FUNC(malloc)
EXPORT_FUNC(free)
EXPORT_FUNC(udelay)
EXPORT_FUNC(get_timer)
+#if (CONFIG_COMMANDS & CFG_CMD_I2C)
+EXPORT_FUNC(i2c_write)
+EXPORT_FUNC(i2c_read)
+#endif /* CFG_CMD_I2C */