summaryrefslogtreecommitdiff
path: root/include/_exports.h
diff options
context:
space:
mode:
authorBartosz Golaszewski <bgolaszewski@baylibre.com>2019-07-29 08:58:00 +0200
committerTom Rini <trini@konsulko.com>2019-07-29 17:58:52 -0400
commite31148247a3ff3b225b6e4669acf756efc9516c3 (patch)
treeaac2ab1d382b2d9f2f57dcc5209fe13cb50b370d /include/_exports.h
parent3ec7fc45e5b3e6fd4384909b4e54226f39de4731 (diff)
downloadu-boot-e31148247a3ff3b225b6e4669acf756efc9516c3.tar.gz
i2c: remove i2c driver-model compatibility layer
There are no more users of the compatibility layer for i2c. Remove the driver and all references to it. Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Acked-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'include/_exports.h')
-rw-r--r--include/_exports.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/_exports.h b/include/_exports.h
index c15050e30b..0dee05f077 100644
--- a/include/_exports.h
+++ b/include/_exports.h
@@ -40,8 +40,7 @@
EXPORT_FUNC(simple_strtol, long, simple_strtol,
const char *, char **, unsigned int)
EXPORT_FUNC(strcmp, int, strcmp, const char *cs, const char *ct)
-#if defined(CONFIG_CMD_I2C) && \
- (!defined(CONFIG_DM_I2C) || defined(CONFIG_DM_I2C_COMPAT))
+#if defined(CONFIG_CMD_I2C) && !defined(CONFIG_DM_I2C)
EXPORT_FUNC(i2c_write, int, i2c_write, uchar, uint, int , uchar * , int)
EXPORT_FUNC(i2c_read, int, i2c_read, uchar, uint, int , uchar * , int)
#else