summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-10-07 14:49:13 +0900
committerSimon Glass <sjg@chromium.org>2014-10-22 10:32:17 -0600
commit42c23dd2aafea0a1de7b8acbe1d2515eb25fee73 (patch)
treedcb8c748c65fc0284ef8dd567559d85625fa87c4 /include
parentdc7cb46f9707d27c9a9d66684c391062ccf8773f (diff)
downloadu-boot-imx-42c23dd2aafea0a1de7b8acbe1d2515eb25fee73.zip
u-boot-imx-42c23dd2aafea0a1de7b8acbe1d2515eb25fee73.tar.gz
u-boot-imx-42c23dd2aafea0a1de7b8acbe1d2515eb25fee73.tar.bz2
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>
Diffstat (limited to 'include')
-rw-r--r--include/dm/platdata.h2
-rw-r--r--include/dm/uclass.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/include/dm/platdata.h b/include/dm/platdata.h
index 7716f19..0d4d561 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>
/**