]> git.baikalelectronics.ru Git - kernel.git/commit
of: Explicitly include linux/types.h in of_graph.h
authorMark Brown <broonie@kernel.org>
Thu, 26 Mar 2015 16:47:55 +0000 (09:47 -0700)
committerRob Herring <robh@kernel.org>
Thu, 26 Mar 2015 17:14:56 +0000 (12:14 -0500)
commitf8e058952bbfee4d2be0e673dd63e7eb4b7bf5f4
tree9b79f498c8c80bececcd0bb3d729776f6314e0d5
parent4adfdae5ea85782164ef94883c5677085de8ec35
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 d9900c8b4b3f (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>
include/linux/of_graph.h