Преглед изворни кода

mpc83xx: fix implicit declaration of function 'ft_get_prop' warnings

(cherry picked from c5bf13b02284c3204a723566a9bab700e5059659 commit)
Kim Phillips пре 18 година
родитељ
комит
781e026c8a
2 измењених фајлова са 6 додато и 0 уклоњено
  1. 3 0
      board/mpc832xemds/pci.c
  2. 3 0
      board/mpc8360emds/pci.c

+ 3 - 0
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>
 

+ 3 - 0
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>