diff options
author | Simon Glass <sjg@chromium.org> | 2014-06-11 23:29:48 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-06-20 11:55:42 -0600 |
commit | 6a6d8fbef7eb801a6babad8a62b1318d098ed7ed (patch) | |
tree | 6c7453ad91a10520da72c8d3963feb91e9526d21 | |
parent | 939cda5bf06205971c1e6849032144454017f200 (diff) | |
download | u-boot-imx-6a6d8fbef7eb801a6babad8a62b1318d098ed7ed.zip u-boot-imx-6a6d8fbef7eb801a6babad8a62b1318d098ed7ed.tar.gz u-boot-imx-6a6d8fbef7eb801a6babad8a62b1318d098ed7ed.tar.bz2 |
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.c | 1 | ||||
-rw-r--r-- | drivers/core/root.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/core/lists.c b/drivers/core/lists.c index 9f2917f..afb59d1 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 4977875..f31be72 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> |