From: Masahiro Yamada <yamada.m@jp.panasonic.com>
Date: Tue, 7 Oct 2014 05:49:13 +0000 (+0900)
Subject: dm: include <linker_lists.h> from platdata.h and uclass.h
X-Git-Tag: v2025.01-rc5-pxa1908~14533^2~60
X-Git-Url: http://git.dujemihanovic.xyz/%22http:/www.sics.se/static/html/index.html?a=commitdiff_plain;h=42c23dd2aafea0a1de7b8acbe1d2515eb25fee73;p=u-boot.git

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>
Acked-by: Simon Glass <sjg@chromium.org>
---

diff --git a/include/dm/platdata.h b/include/dm/platdata.h
index 7716f1940e..0d4d561089 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 8d09ecff7b..f6ec6d7e9f 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>
 
 /**