Commit 01218bf1 authored by Mark Brown's avatar Mark Brown Committed by Rob Herring

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 bfe446e3 (of: Add of_graph_get_port_by_id function).  Add
an explicit inclusion to fix this.
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Acked-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent 23a71fd6
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment