diff options
Diffstat (limited to 'include/_exports.h')
| -rw-r--r-- | include/_exports.h | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/include/_exports.h b/include/_exports.h index 2b8ec3d3f..a0fbf2aba 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 defined(CONFIG_CMD_I2C)  EXPORT_FUNC(i2c_write)  EXPORT_FUNC(i2c_read) -#endif	/* CFG_CMD_I2C */ +#endif |