All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] dm: add missing includes
@ 2014-06-25 19:57 Jeroen Hofstee
  2014-06-26  2:15 ` Simon Glass
  2014-07-21 20:42 ` [U-Boot] " Tom Rini
  0 siblings, 2 replies; 3+ messages in thread
From: Jeroen Hofstee @ 2014-06-25 19:57 UTC (permalink / raw)
  To: u-boot

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 at chromium.org
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
---
 drivers/core/lists.c | 1 +
 drivers/core/root.c  | 1 +
 2 files changed, 2 insertions(+)

diff --git a/drivers/core/lists.c b/drivers/core/lists.c
index afb59d1..87164a5 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 1cbb096..11e0879 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>
-- 
1.8.3.2

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH] dm: add missing includes
  2014-06-25 19:57 [U-Boot] [PATCH] dm: add missing includes Jeroen Hofstee
@ 2014-06-26  2:15 ` Simon Glass
  2014-07-21 20:42 ` [U-Boot] " Tom Rini
  1 sibling, 0 replies; 3+ messages in thread
From: Simon Glass @ 2014-06-26  2:15 UTC (permalink / raw)
  To: u-boot

On 25 June 2014 13:57, Jeroen Hofstee <jeroen@myspectrum.nl> wrote:
> 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 at chromium.org
> Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>

Acked-by: Simon Glass <sjg@chromium.org>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] dm: add missing includes
  2014-06-25 19:57 [U-Boot] [PATCH] dm: add missing includes Jeroen Hofstee
  2014-06-26  2:15 ` Simon Glass
@ 2014-07-21 20:42 ` Tom Rini
  1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2014-07-21 20:42 UTC (permalink / raw)
  To: u-boot

On Wed, Jun 25, 2014 at 09:57:45PM +0200, Jeroen Hofstee wrote:

> 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 at chromium.org
> Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
> Acked-by: Simon Glass <sjg@chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140721/39e261ff/attachment.pgp>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-07-21 20:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-25 19:57 [U-Boot] [PATCH] dm: add missing includes Jeroen Hofstee
2014-06-26  2:15 ` Simon Glass
2014-07-21 20:42 ` [U-Boot] " Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.