Skip to contentSkip to conversation

of: default implementation for of_find_all_nodes(...).

PATCH New Artur Lorincz 1 participant 1 message Mar 22, 2017 Device tree

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 of: default implementation for of_find_all_nodes(...).

Added default implementation for of_find_all_nodes(). This function is used by board.c from the board module (drivers/staging/board).

---
 include/linux/of.h | 5 +++++
 1 file changed, 5 insertions(+)
include/linux/of.h +5 -0
index 21e6323..f1cff92 100644
@@ -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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html