summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-06-11 23:29:48 -0600
committerSimon Glass <sjg@chromium.org>2014-06-20 11:55:42 -0600
commit6a6d8fbef7eb801a6babad8a62b1318d098ed7ed (patch)
tree6c7453ad91a10520da72c8d3963feb91e9526d21
parent939cda5bf06205971c1e6849032144454017f200 (diff)
downloadtalos-obmc-uboot-6a6d8fbef7eb801a6babad8a62b1318d098ed7ed.tar.gz
talos-obmc-uboot-6a6d8fbef7eb801a6babad8a62b1318d098ed7ed.zip
dm: Add missing header files in lists and root
These files don't compile in some architectures. Fix it by adding the missing headers. Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r--drivers/core/lists.c1
-rw-r--r--drivers/core/root.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/core/lists.c b/drivers/core/lists.c
index 9f2917f4bb..afb59d1d8d 100644
--- a/drivers/core/lists.c
+++ b/drivers/core/lists.c
@@ -14,6 +14,7 @@
#include <dm/platdata.h>
#include <dm/uclass.h>
#include <dm/util.h>
+#include <fdtdec.h>
#include <linux/compiler.h>
struct driver *lists_driver_lookup_name(const char *name)
diff --git a/drivers/core/root.c b/drivers/core/root.c
index 4977875c7f..f31be72cd0 100644
--- a/drivers/core/root.c
+++ b/drivers/core/root.c
@@ -10,6 +10,7 @@
#include <common.h>
#include <errno.h>
#include <malloc.h>
+#include <libfdt.h>
#include <dm/device.h>
#include <dm/device-internal.h>
#include <dm/lists.h>
OpenPOWER on IntegriCloud