
29 Jun
2010
29 Jun
'10
11:52 a.m.
Signed-off-by: Wolfgang Denk wd@denx.de --- v2: fix compile problem for some boards.
common/exports.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/common/exports.c b/common/exports.c index 60bba75..36321e3 100644 --- a/common/exports.c +++ b/common/exports.c @@ -3,9 +3,14 @@
DECLARE_GLOBAL_DATA_PTR;
+#if (!defined(CONFIG_I386) && !defined(CONFIG_PPC)) || \ + !defined(CONFIG_CMD_I2C) || \ + !defined(CONFIG_HAS_UID) || \ + !defined(CONFIG_CMD_SPI) static void dummy(void) { } +#endif
unsigned long get_version(void) {
--
1.7.0.1