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

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@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>
/**

On 6 October 2014 23:49, Masahiro Yamada yamada.m@jp.panasonic.com wrote:
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@jp.panasonic.com
Acked-by: Simon Glass sjg@chromium.org

On 7 October 2014 22:14, Simon Glass sjg@chromium.org wrote:
On 6 October 2014 23:49, Masahiro Yamada yamada.m@jp.panasonic.com wrote:
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@jp.panasonic.com
Acked-by: Simon Glass sjg@chromium.org
Applied to u-boot-dm/next, thanks!
participants (2)
-
Masahiro Yamada
-
Simon Glass