Philipp Zabel
00fd961912
of: Fix of_graph_parse_endpoint stub for !CONFIG_OF builds
This patch fixes the following build error:
In file included from drivers/media/i2c/adv7343.c:29:0:
>> include/linux/of_graph.h:41:1: error: expected identifier or '(' before '{' token
{
^
include/linux/of_graph.h:39:19: warning: 'of_graph_parse_endpoint' declared 'static' but never defined [-Wunused-function]
static inline int of_graph_parse_endpoint(const struct device_node *node,
^
vim +41 include/linux/of_graph.h
35 const struct device_node *node);
36 struct device_node *of_graph_get_remote_port(const struct device_node *node);
37 #else
38
39 static inline int of_graph_parse_endpoint(const struct device_node *node,
40 struct of_endpoint *endpoint);
> 41 {
42 return -ENOSYS;
43 }
44
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
2014-03-07 16:02:46 +01:00
..
2014-01-29 11:47:18 +01:00
2014-02-17 11:19:36 +11:00
2014-02-19 08:21:26 +10:00
2014-01-30 17:07:18 -08:00
2014-03-07 16:02:46 +01:00
2014-01-07 18:36:24 -06:00
2014-03-06 17:41:48 +01:00
2014-02-17 00:16:56 -05:00
2014-02-13 14:46:03 -08:00
2014-01-31 15:31:23 -08:00
2014-02-20 18:40:07 +09:00
2014-02-12 15:14:30 -08:00
2014-02-22 02:02:28 +01:00
2014-02-24 11:55:20 +00:00
2014-01-17 10:57:43 +02:00
2014-02-14 10:45:18 -08:00