On Monday, August 29, 2011 08:14:05 Graeme Russ wrote:
> --- a/drivers/i2c/soft_i2c.c
> +++ b/drivers/i2c/soft_i2c.c
>
> #ifdef DEBUG_I2C
> #define PRINTD(fmt,args...) do { \
> - if (gd->have_console) \
> printf (fmt ,##args); \
> } while (0)
> #else
the "do {} while (0)" can go away now
-mike
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

