All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] of: default implementation for of_find_all_nodes(...).
@ 2017-03-22 16:27 ` Artur Lorincz
  0 siblings, 0 replies; 2+ messages in thread
From: Artur Lorincz @ 2017-03-22 16:27 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 21e6323..f1cff92 100644
--- a/include/linux/of.h
+++ b/include/linux/of.h
@@ -840,6 +840,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] 2+ messages in thread

* [PATCH 1/1] of: default implementation for of_find_all_nodes(...).
@ 2017-03-22 16:27 ` Artur Lorincz
  0 siblings, 0 replies; 2+ messages in thread
From: Artur Lorincz @ 2017-03-22 16:27 UTC (permalink / raw)
  To: frowand.list-Re5JQEeQqe8AvxtiuMwx3w
  Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	larturus-/E1597aS9LQAvxtiuMwx3w, 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-/E1597aS9LQAvxtiuMwx3w@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 21e6323..f1cff92 100644
--- a/include/linux/of.h
+++ b/include/linux/of.h
@@ -840,6 +840,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

--
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] 2+ messages in thread

end of thread, other threads:[~2017-03-22 16:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-22 16:27 [PATCH 1/1] of: default implementation for of_find_all_nodes(...) Artur Lorincz
2017-03-22 16:27 ` Artur Lorincz

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.