Signed-off-by: Wolfgang Denk <w...@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

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

Reply via email to