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,
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
2 matches
Mail list logo