In current -next of_graph.h fails to build due to it relying on linux/types.h without explicitly including it:
../include/linux/of_graph.h:43:71: error: unknown type name 'u32'
caused by bfe446e37c4e (of: Add of_graph_get_port_by_id function). Add an explicit inclusion to fix this.
Signed-off-by: Mark Brown broonie@kernel.org --- include/linux/of_graph.h | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/include/linux/of_graph.h b/include/linux/of_graph.h index 3c1c95a39e0c..7bc92e050608 100644 --- a/include/linux/of_graph.h +++ b/include/linux/of_graph.h @@ -14,6 +14,8 @@ #ifndef __LINUX_OF_GRAPH_H #define __LINUX_OF_GRAPH_H
+#include <linux/types.h> + /** * struct of_endpoint - the OF graph endpoint data structure * @port: identifier (value of reg property) of a port this endpoint belongs to
Hi Mark,
Thank you for the patch.
On Thursday 26 March 2015 09:47:55 Mark Brown wrote:
In current -next of_graph.h fails to build due to it relying on linux/types.h without explicitly including it:
../include/linux/of_graph.h:43:71: error: unknown type name 'u32'
caused by bfe446e37c4e (of: Add of_graph_get_port_by_id function). Add an explicit inclusion to fix this.
Signed-off-by: Mark Brown broonie@kernel.org
Acked-by: Laurent Pinchart laurent.pinchart@ideasonboard.com
include/linux/of_graph.h | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/include/linux/of_graph.h b/include/linux/of_graph.h index 3c1c95a39e0c..7bc92e050608 100644 --- a/include/linux/of_graph.h +++ b/include/linux/of_graph.h @@ -14,6 +14,8 @@ #ifndef __LINUX_OF_GRAPH_H #define __LINUX_OF_GRAPH_H
+#include <linux/types.h>
/**
- struct of_endpoint - the OF graph endpoint data structure
- @port: identifier (value of reg property) of a port this endpoint
belongs to
Am Donnerstag, den 26.03.2015, 09:47 -0700 schrieb Mark Brown:
In current -next of_graph.h fails to build due to it relying on linux/types.h without explicitly including it:
../include/linux/of_graph.h:43:71: error: unknown type name 'u32'
caused by bfe446e37c4e (of: Add of_graph_get_port_by_id function). Add an explicit inclusion to fix this.
Signed-off-by: Mark Brown broonie@kernel.org
include/linux/of_graph.h | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/include/linux/of_graph.h b/include/linux/of_graph.h index 3c1c95a39e0c..7bc92e050608 100644 --- a/include/linux/of_graph.h +++ b/include/linux/of_graph.h @@ -14,6 +14,8 @@ #ifndef __LINUX_OF_GRAPH_H #define __LINUX_OF_GRAPH_H +#include <linux/types.h>
/**
- struct of_endpoint - the OF graph endpoint data structure
- @port: identifier (value of reg property) of a port this endpoint belongs to
Acked-by: Philipp Zabel p.zabel@pengutronix.de
Thanks! Philipp
On Thu, Mar 26, 2015 at 11:47 AM, Mark Brown broonie@kernel.org wrote:
In current -next of_graph.h fails to build due to it relying on linux/types.h without explicitly including it:
../include/linux/of_graph.h:43:71: error: unknown type name 'u32'
caused by bfe446e37c4e (of: Add of_graph_get_port_by_id function). Add an explicit inclusion to fix this.
Signed-off-by: Mark Brown broonie@kernel.org
Applied. Thanks.
Rob
include/linux/of_graph.h | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/include/linux/of_graph.h b/include/linux/of_graph.h index 3c1c95a39e0c..7bc92e050608 100644 --- a/include/linux/of_graph.h +++ b/include/linux/of_graph.h @@ -14,6 +14,8 @@ #ifndef __LINUX_OF_GRAPH_H #define __LINUX_OF_GRAPH_H
+#include <linux/types.h>
/**
- struct of_endpoint - the OF graph endpoint data structure
- @port: identifier (value of reg property) of a port this endpoint belongs to
-- 2.1.4
kernel-build-reports@lists.linaro.org