On Wednesday, June 23, 2010 18:06:11 Wolfgang Denk wrote: > --- a/common/exports.c > +++ b/common/exports.c > @@ -3,9 +3,13 @@ > > DECLARE_GLOBAL_DATA_PTR; > > +#if (!defined(CONFIG_I386) && !defined(CONFIG_PPC)) || \ > + !defined(CONFIG_CMD_I2C) || \ > + !defined(CONFIG_CMD_SPI) > static void dummy(void) > { > } > +#endif
would __attribute__((unused)) be better ? then we'd avoid the #ifdef mess. -mike
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot