devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] of: Add empty of_get_next_parent() for !OF
@ 2015-04-29 22:44 Ilkka Koskinen
       [not found] ` <1430347479-1715-1-git-send-email-ilkka.koskinen-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Ilkka Koskinen @ 2015-04-29 22:44 UTC (permalink / raw)
  To: grant.likely-QSEj5FYQhm4dnm+yROfE0A,
	robh+dt-DgEjT+Ai2ygdnm+yROfE0A, devicetree-u79uwXL29TY76Z2rM5mHXA,
	ilkka.koskinen-VuQAYsv1563Yd54FQh9/CA

From: Ilkka Koskinen <ilkka.koskinen-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>

Add an empty version of of_get_next_parent() in order to avoid
build error.

Signed-off-by: Ilkka Koskinen <ilkka.koskinen-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
---
 include/linux/of.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/include/linux/of.h b/include/linux/of.h
index dfde07e..416158f 100644
--- a/include/linux/of.h
+++ b/include/linux/of.h
@@ -425,6 +425,11 @@ static inline struct device_node *of_get_parent(const struct device_node *node)
 	return NULL;
 }
 
+static inline struct device_node *of_get_next_parent(struct device_node *node)
+{
+	return NULL;
+}
+
 static inline struct device_node *of_get_next_child(
 	const struct device_node *node, struct device_node *prev)
 {
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2015-05-02  6:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-29 22:44 [PATCH] of: Add empty of_get_next_parent() for !OF Ilkka Koskinen
     [not found] ` <1430347479-1715-1-git-send-email-ilkka.koskinen-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2015-04-29 23:03   ` Rob Herring
     [not found]     ` <CAL_JsqJEQmJT9+4t=PSc_K6yRxuTRObewfdghXmBgDTg=Sm+qQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-30 23:27       ` Ilkka Koskinen
     [not found]         ` <57872.10.24.5.56.1430436421.squirrel-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2015-05-01  1:26           ` Rob Herring
     [not found]             ` <CAL_JsqJ_0LZ0i6BD4ECFJgaEPUkRM5qrDS1jKextB+bM5_iz5w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-05-02  6:11               ` Ilkka Koskinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).