aboutsummaryrefslogtreecommitdiff
path: root/include/exports.h
diff options
context:
space:
mode:
authorBartosz Golaszewski2019-07-29 08:58:00 +0200
committerTom Rini2019-07-29 17:58:52 -0400
commite31148247a3ff3b225b6e4669acf756efc9516c3 (patch)
treeaac2ab1d382b2d9f2f57dcc5209fe13cb50b370d /include/exports.h
parent3ec7fc45e5b3e6fd4384909b4e54226f39de4731 (diff)
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 a4b862f1917..bf8d53c6b01 100644
--- a/include/exports.h
+++ b/include/exports.h
@@ -32,8 +32,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) || defined(CONFIG_DM_I2C_COMPAT))
+#if defined(CONFIG_CMD_I2C) && !defined(CONFIG_DM_I2C)
int i2c_write (uchar, uint, int , uchar* , int);
int i2c_read (uchar, uint, int , uchar* , int);
#endif