summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJeroen Hofstee <jeroen@myspectrum.nl>2014-06-25 21:57:45 +0200
committerTom Rini <trini@ti.com>2014-07-18 17:53:23 -0400
commitfd536d818d9bb9138ca74dedf187b8086eb08a24 (patch)
tree5d48964109367f7e42ebd2b057af5a6fac20e313 /drivers
parentc5d4001a1cbca546f83ec7f2299c664fb00e6451 (diff)
dm: add missing includes
lists.c / root.c do not include their own header and they could potentially implement a different function. Therefore actually include the headers. cc: sjg@chromium.org Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers')
-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 afb59d1d8dd..87164a5cf9a 100644
--- a/drivers/core/lists.c
+++ b/drivers/core/lists.c
@@ -11,6 +11,7 @@
#include <errno.h>
#include <dm/device.h>
#include <dm/device-internal.h>
+#include <dm/lists.h>
#include <dm/platdata.h>
#include <dm/uclass.h>
#include <dm/util.h>
diff --git a/drivers/core/root.c b/drivers/core/root.c
index 1cbb096494d..11e08796b2b 100644
--- a/drivers/core/root.c
+++ b/drivers/core/root.c
@@ -15,6 +15,7 @@
#include <dm/device-internal.h>
#include <dm/lists.h>
#include <dm/platdata.h>
+#include <dm/root.h>
#include <dm/uclass.h>
#include <dm/util.h>
#include <linux/list.h>