summaryrefslogtreecommitdiff
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 8f7f61703..8a9b314cd 100644
--- a/include/exports.h
+++ b/include/exports.h
@@ -23,7 +23,7 @@ void do_reset (void);
unsigned long simple_strtoul(const char *cp,char **endp,unsigned int base);
char *getenv (char *name);
void setenv (char *varname, char *varvalue);
-#if (CONFIG_COMMANDS & CFG_CMD_I2C)
+#if (CONFIG_COMMANDS & CFG_CMD_I2C) || defined(CONFIG_CMD_I2C)
int i2c_write (uchar, uint, int , uchar* , int);
int i2c_read (uchar, uint, int , uchar* , int);
#endif /* CFG_CMD_I2C */