devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] default implementation for of_find_all_nodes(...)
@ 2017-08-30 18:32 Artur Lorincz
       [not found] ` <1504117946-3958-1-git-send-email-larturus2-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 11+ messages in thread
From: Artur Lorincz @ 2017-08-30 18:32 UTC (permalink / raw)
  To: frowand.list; +Cc: devicetree, linux-kernel, larturus, Artur Lorincz

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

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

end of thread, other threads:[~2017-10-09  1:22 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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     ` [PATCH] default implementation for of_find_all_nodes(...) Artur Lorincz
2017-10-06 22:32   ` 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

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).