From: Ilkka Koskinen <ilkka.koskinen-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
To: grant.likely-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org,
robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
ilkka.koskinen-VuQAYsv1563Yd54FQh9/CA@public.gmane.org
Subject: [PATCH] of: Add empty of_get_next_parent() for !OF
Date: Wed, 29 Apr 2015 15:44:39 -0700 [thread overview]
Message-ID: <1430347479-1715-1-git-send-email-ilkka.koskinen@linux.intel.com> (raw)
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
next reply other threads:[~2015-04-29 22:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-29 22:44 Ilkka Koskinen [this message]
[not found] ` <1430347479-1715-1-git-send-email-ilkka.koskinen-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2015-04-29 23:03 ` [PATCH] of: Add empty of_get_next_parent() for !OF 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1430347479-1715-1-git-send-email-ilkka.koskinen@linux.intel.com \
--to=ilkka.koskinen-vuqaysv1563yd54fqh9/ca@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=grant.likely-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
--cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).