mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/2] linux/list.h: Add missing include
@ 2016-10-19  6:39 Sascha Hauer
  2016-10-19  6:39 ` [PATCH 2/2] complete: Add completion for nv and globalvar commands Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Sascha Hauer @ 2016-10-19  6:39 UTC (permalink / raw)
  To: Barebox List

linux/list.h needs linux/kernel.h for container_of(). Add it.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 include/linux/list.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/linux/list.h b/include/linux/list.h
index bc63ece..af5edc9 100644
--- a/include/linux/list.h
+++ b/include/linux/list.h
@@ -2,6 +2,7 @@
 #define _LINUX_LIST_H
 
 #include <linux/stddef.h> /* for NULL */
+#include <linux/kernel.h>
 
 /*
  * Simple doubly linked list implementation.
-- 
2.9.3


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2016-10-19  6:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-19  6:39 [PATCH 1/2] linux/list.h: Add missing include Sascha Hauer
2016-10-19  6:39 ` [PATCH 2/2] complete: Add completion for nv and globalvar commands Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox