X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2F_exports.h;h=8030d70c0bc329de2342eba811c91c605c5d4a1b;hb=49c8ef0e45a91ec894ef15e7d043dafe8f1c5efd;hp=1e9ba8610880cb3e3b128aee6080f9e945c31d64;hpb=09140113108541b95d340f3c7b6ee597d31ccc73;p=platform%2Fkernel%2Fu-boot.git diff --git a/include/_exports.h b/include/_exports.h index 1e9ba86..8030d70 100644 --- a/include/_exports.h +++ b/include/_exports.h @@ -8,7 +8,7 @@ #define EXPORT_FUNC(a, b, c, ...) #endif EXPORT_FUNC(get_version, unsigned long, get_version, void) - EXPORT_FUNC(getc, int, getc, void) + EXPORT_FUNC(getchar, int, getc, void) EXPORT_FUNC(tstc, int, tstc, void) EXPORT_FUNC(putc, void, putc, const char) EXPORT_FUNC(puts, void, puts, const char *) @@ -40,7 +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) +#if defined(CONFIG_CMD_I2C) && !CONFIG_IS_ENABLED(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