]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
dm: add missing includes
authorJeroen Hofstee <jeroen@myspectrum.nl>
Wed, 25 Jun 2014 19:57:45 +0000 (21:57 +0200)
committerTom Rini <trini@ti.com>
Fri, 18 Jul 2014 21:53:23 +0000 (17:53 -0400)
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>
drivers/core/lists.c
drivers/core/root.c

index afb59d1d8dd277f62601c225679064f341dbdfa5..87164a5cf9a06449a3dfa0cce1a3701f2b7f4913 100644 (file)
@@ -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>
index 1cbb096494d2638a57c1a9d7998cda9685054896..11e08796b2b0416d7cb3f29e96bfaab91f179a0f 100644 (file)
@@ -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>