
24 Jun
2010
24 Jun
'10
1:32 a.m.
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