[U-Boot] [PATCH] dm: include <linker_lists.h> from platdata.h and uclass.h

Masahiro Yamada yamada.m at jp.panasonic.com
Tue Oct 7 07:49:13 CEST 2014


The header files include/dm/platdata.h and include/dm/uclass.h
use ll_entry_declare(); therefore they depend on
include/linker_lists.h.

Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
---

 include/dm/platdata.h | 2 ++
 include/dm/uclass.h   | 1 +
 2 files changed, 3 insertions(+)

diff --git a/include/dm/platdata.h b/include/dm/platdata.h
index 2bc8b14..ce5b182 100644
--- a/include/dm/platdata.h
+++ b/include/dm/platdata.h
@@ -11,6 +11,8 @@
 #ifndef _DM_PLATDATA_H
 #define _DM_PLATDATA_H
 
+#include <linker_lists.h>
+
 /**
  * struct driver_info - Information required to instantiate a device
  *
diff --git a/include/dm/uclass.h b/include/dm/uclass.h
index 8d09ecf..f6ec6d7 100644
--- a/include/dm/uclass.h
+++ b/include/dm/uclass.h
@@ -11,6 +11,7 @@
 #define _DM_UCLASS_H
 
 #include <dm/uclass-id.h>
+#include <linker_lists.h>
 #include <linux/list.h>
 
 /**
-- 
1.9.1



More information about the U-Boot mailing list