From: Artur Lorincz <larturus2@gmail.com>
To: robh@kernel.org
Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
larturus@yahoo.com, Artur Lorincz <larturus2@gmail.com>
Subject: [PATCH] default implementation for of_find_all_nodes(...)
Date: Fri, 6 Oct 2017 21:31:34 +0200 [thread overview]
Message-ID: <1507318294-4119-2-git-send-email-larturus2@gmail.com> (raw)
In-Reply-To: <1507318294-4119-1-git-send-email-larturus2@gmail.com>
Added default implementation for of_find_all_nodes(). This function is
used by board.c from the board module (drivers/staging/board).
Signed-off-by: Artur Lorincz <larturus@yahoo.com>
---
include/linux/of.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/include/linux/of.h b/include/linux/of.h
index 4a8a709..0a9c17a 100644
--- a/include/linux/of.h
+++ b/include/linux/of.h
@@ -865,6 +865,11 @@ static inline void of_property_clear_flag(struct property *p, unsigned long flag
#define of_match_ptr(_ptr) NULL
#define of_match_node(_matches, _node) NULL
+
+static inline struct device_node *of_find_all_nodes(struct device_node *prev)
+{
+ return NULL;
+}
#endif /* CONFIG_OF */
/* Default string compare functions, Allow arch asm/prom.h to override */
--
1.9.1
next prev parent reply other threads:[~2017-10-06 19:31 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-30 18:32 [PATCH] default implementation for of_find_all_nodes(...) Artur Lorincz
[not found] ` <1504117946-3958-1-git-send-email-larturus2-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-09-24 15:50 ` (unknown), Artur Lorincz
2017-09-24 15:50 ` [PATCH] default implementation for of_find_all_nodes(...) Artur Lorincz
[not found] ` <1506268244-6589-2-git-send-email-larturus2-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-09-24 17:50 ` Frank Rowand
2017-10-06 19:31 ` (unknown), Artur Lorincz
2017-10-06 19:31 ` Artur Lorincz [this message]
2017-10-06 22:32 ` [PATCH] default implementation for of_find_all_nodes(...) Rob Herring
2017-10-08 16:28 ` (unknown), Artur Lorincz
2017-10-08 16:28 ` [PATCH] Added default implementation for of_find_all_nodes(). This function is used by board.c from the board module (drivers/staging/board) Artur Lorincz
[not found] ` <1507480107-3576-2-git-send-email-larturus2-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-10-08 19:23 ` kbuild test robot
2017-10-09 1:22 ` Rob Herring
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=1507318294-4119-2-git-send-email-larturus2@gmail.com \
--to=larturus2@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=larturus@yahoo.com \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@kernel.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).