Re: [U-Boot] [PATCH 04/39] GCC4.6: Squash warning in cmd_date.c

2011-10-30 Thread Mike Frysinger
On Friday 21 October 2011 20:16:59 Marek Vasut wrote: > +static inline unsigned int I2C_GET_BUS(void) > __attribute__((always_inline)); > +static inline unsigned int I2C_GET_BUS(void) > +{ there's no need to have these prototypes double up. if you really truly need the "always inline" markings,

[U-Boot] [PATCH 04/39] GCC4.6: Squash warning in cmd_date.c

2011-10-21 Thread Marek Vasut
cmd_date.c: In function ‘do_date’: cmd_date.c:50:6: warning: variable ‘old_bus’ set but not used [-Wunused-but-set-variable] Signed-off-by: Marek Vasut Cc: Wolfgang Denk Cc: Simon Glass Cc: Mike Frysinger --- include/i2c.h | 32 +++- 1 files changed, 23 insertion