]> git.sur5r.net Git - u-boot/commitdiff
dm: Add missing header files in lists and root
authorSimon Glass <sjg@chromium.org>
Thu, 12 Jun 2014 05:29:48 +0000 (23:29 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 20 Jun 2014 17:55:42 +0000 (11:55 -0600)
These files don't compile in some architectures. Fix it by adding the
missing headers.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/core/lists.c
drivers/core/root.c

index 9f2917f4bb266b1d396cb060c0c8355c3ed12a53..afb59d1d8dd277f62601c225679064f341dbdfa5 100644 (file)
@@ -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)
index 4977875c7f947f60178b60a824a2a109147acbc6..f31be72cd05dc0e82930130bbbe8a50405ff5121 100644 (file)
@@ -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>