summaryrefslogtreecommitdiff
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
parentdc7cb46f9707d27c9a9d66684c391062ccf8773f (diff)
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>
-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 7716f1940ea..0d4d561089a 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 8d09ecff7b4..f6ec6d7e9f6 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>
/**