Signed-off-by: Wolfgang Denk <w...@denx.de>
---
 common/exports.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/common/exports.c b/common/exports.c
index 60bba75..cbc0f49 100644
--- 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
 
 unsigned long get_version(void)
 {
-- 
1.7.0.1

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to