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 7716f1940ea78e42c8f9d1ef06339e91991e201c..0d4d561089a03c7db0416f42bf2a84cde5cc89c8 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 8d09ecff7b4e0c0c4590792391303f0eeea7f2f6..f6ec6d7e9f62f7551b869f1eb7b188e8587b44ee 100644 (file)
@@ -11,6 +11,7 @@
 #define _DM_UCLASS_H
 
 #include <dm/uclass-id.h>
+#include <linker_lists.h>
 #include <linux/list.h>
 
 /**