X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2F_exports.h;h=1e9ba8610880cb3e3b128aee6080f9e945c31d64;hb=1099b2abef35c3c887f6afac1a8ef18c7924d5d2;hp=c15050e30b775a5a8c6f16cbe06c89127f47be9a;hpb=2a055ea53260ac8addeeb94eb671172844bc9106;p=oweals%2Fu-boot.git diff --git a/include/_exports.h b/include/_exports.h index c15050e30b..1e9ba86108 100644 --- a/include/_exports.h +++ b/include/_exports.h @@ -29,7 +29,7 @@ EXPORT_FUNC(udelay, void, udelay, unsigned long) EXPORT_FUNC(get_timer, unsigned long, get_timer, unsigned long) EXPORT_FUNC(vprintf, int, vprintf, const char *, va_list) - EXPORT_FUNC(do_reset, int, do_reset, cmd_tbl_t *, + EXPORT_FUNC(do_reset, int, do_reset, struct cmd_tbl *, int , int , char * const []) EXPORT_FUNC(env_get, char *, env_get, const char*) EXPORT_FUNC(env_set, int, env_set, const char *, const char *) @@ -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