Commit 6a6d8fbef7eb801a6babad8a62b1318d098ed7ed

Authored by Simon Glass
1 parent 939cda5bf0

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>

Showing 2 changed files with 2 additions and 0 deletions Side-by-side Diff

drivers/core/lists.c
... ... @@ -14,6 +14,7 @@
14 14 #include <dm/platdata.h>
15 15 #include <dm/uclass.h>
16 16 #include <dm/util.h>
  17 +#include <fdtdec.h>
17 18 #include <linux/compiler.h>
18 19  
19 20 struct driver *lists_driver_lookup_name(const char *name)
... ... @@ -10,6 +10,7 @@
10 10 #include <common.h>
11 11 #include <errno.h>
12 12 #include <malloc.h>
  13 +#include <libfdt.h>
13 14 #include <dm/device.h>
14 15 #include <dm/device-internal.h>
15 16 #include <dm/lists.h>