dm: include <linker_lists.h> from platdata.h and uclass.h
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Tue, 7 Oct 2014 05:49:13 +0000 (14:49 +0900)
committerSimon Glass <sjg@chromium.org>
Wed, 22 Oct 2014 16:32:17 +0000 (10:32 -0600)
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>
include/dm/platdata.h
include/dm/uclass.h

index 7716f19..0d4d561 100644 (file)
@@ -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
  *
index 8d09ecf..f6ec6d7 100644 (file)
@@ -11,6 +11,7 @@
 #define _DM_UCLASS_H
 
 #include <dm/uclass-id.h>
+#include <linker_lists.h>
 #include <linux/list.h>
 
 /**