All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] of: fix a build error to f_graph_get_endpoint_by_regs function
@ 2015-06-23  6:14 Inki Dae
  2015-06-23  6:43 ` Stephen Rothwell
  0 siblings, 1 reply; 3+ messages in thread
From: Inki Dae @ 2015-06-23  6:14 UTC (permalink / raw)
  To: devicetree, robh+dt
  Cc: mark.rutland, sfr, pawel.moll, ijc+devicetree, samsung-soc,
	dri-devel, galak

This patch fixes the below build error reported by Stephen,
	https://lkml.org/lkml/2015/6/22/665

To fix the error, this patch declares of_graph_get_endpoint_by_regs function
with "static inline".

Signed-off-by: Inki Dae <inki.dae@samsung.com>
---
 include/linux/of_graph.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/of_graph.h b/include/linux/of_graph.h
index 1c1d5b9..f8bcd0e 100644
--- a/include/linux/of_graph.h
+++ b/include/linux/of_graph.h
@@ -71,7 +71,7 @@ static inline struct device_node *of_graph_get_next_endpoint(
 	return NULL;
 }
 
-struct device_node *of_graph_get_endpoint_by_regs(
+static inline struct device_node *of_graph_get_endpoint_by_regs(
 		const struct device_node *parent, int port_reg, int reg)
 {
 	return NULL;
-- 
1.7.9.5

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-06-23  7:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-23  6:14 [PATCH] of: fix a build error to f_graph_get_endpoint_by_regs function Inki Dae
2015-06-23  6:43 ` Stephen Rothwell
2015-06-23  7:08   ` Inki Dae

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.