mpc83xx: fix implicit declaration of function 'ft_get_prop' warnings
authorKim Phillips <kim.phillips@freescale.com>
Wed, 28 Feb 2007 06:02:04 +0000 (00:02 -0600)
committerKim Phillips <kim.phillips@freescale.com>
Fri, 2 Mar 2007 20:08:26 +0000 (14:08 -0600)
(cherry picked from c5bf13b02284c3204a723566a9bab700e5059659 commit)

board/mpc832xemds/pci.c
board/mpc8360emds/pci.c

index 09f3ac347c07dee9348a230e3b73b2c7fd18fd51..d0a407ae8aa2550ce1018de7c173c22fa8be9704 100644 (file)
@@ -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>
 
index 15a48dcf4071f9ab6779030bb9c6df32a8d1a726..67cd70981ca32008c278d12f130b3ce0532948af 100644 (file)
@@ -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>