aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorKim Phillips2007-02-28 00:02:04 -0600
committerKim Phillips2007-03-02 14:08:26 -0600
commit781e026c8aa6f7e9eb5f0e72cc4d20971219b148 (patch)
treebca24fd201d3f2fd4b235ce58d4bc1ab6325ab29 /board
parent4feab4de7bfc2cb2fed36ad76f93c3a69659bbaf (diff)
mpc83xx: fix implicit declaration of function 'ft_get_prop' warnings
(cherry picked from c5bf13b02284c3204a723566a9bab700e5059659 commit)
Diffstat (limited to 'board')
-rw-r--r--board/mpc832xemds/pci.c3
-rw-r--r--board/mpc8360emds/pci.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/board/mpc832xemds/pci.c b/board/mpc832xemds/pci.c
index 09f3ac347c0..d0a407ae8aa 100644
--- a/board/mpc832xemds/pci.c
+++ b/board/mpc832xemds/pci.c
@@ -18,6 +18,9 @@
#include <common.h>
#include <pci.h>
#include <i2c.h>
+#if defined(CONFIG_OF_FLAT_TREE)
+#include <ft_build.h>
+#endif
#include <asm/fsl_i2c.h>
diff --git a/board/mpc8360emds/pci.c b/board/mpc8360emds/pci.c
index 15a48dcf407..67cd70981ca 100644
--- a/board/mpc8360emds/pci.c
+++ b/board/mpc8360emds/pci.c
@@ -18,6 +18,9 @@
#include <common.h>
#include <pci.h>
#include <i2c.h>
+#if defined(CONFIG_OF_FLAT_TREE)
+#include <ft_build.h>
+#endif
#include <asm/fsl_i2c.h>