summaryrefslogtreecommitdiffstats
path: root/include/linux/of_graph.h
diff options
context:
space:
mode:
authorMark Brown2015-03-26 17:47:55 +0100
committerRob Herring2015-03-26 18:14:56 +0100
commit01218bf14ee60d4a2d6c667ebdbba3ae9a7a1d66 (patch)
tree9b79f498c8c80bececcd0bb3d729776f6314e0d5 /include/linux/of_graph.h
parentdt-bindings: brcm: rationalize Broadcom documentation naming (diff)
downloadkernel-qcow2-linux-01218bf14ee60d4a2d6c667ebdbba3ae9a7a1d66.tar.gz
kernel-qcow2-linux-01218bf14ee60d4a2d6c667ebdbba3ae9a7a1d66.tar.xz
kernel-qcow2-linux-01218bf14ee60d4a2d6c667ebdbba3ae9a7a1d66.zip
of: Explicitly include linux/types.h in of_graph.h
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> Acked-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'include/linux/of_graph.h')
-rw-r--r--include/linux/of_graph.h2
1 files changed, 2 insertions, 0 deletions
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