[PATCH] of: Export __of_find_all_nodes()

DORMANTno replies

From: Alexander Sverdlin <hidden>
Date: 2017-01-18 09:38:49
Subsystem: open firmware and flattened device tree, the rest · Maintainers: Rob Herring, Saravana Kannan, Linus Torvalds

This is necessary for for_each_of_allnodes() to work in the modules.

Signed-off-by: Alexander Sverdlin <redacted>
Cc: Rob Herring <redacted>
Cc: Frank Rowand <redacted>
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
---
 drivers/of/base.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/drivers/of/base.c b/drivers/of/base.c
index 2eb4dea62b84..f576c33e0b84 100644
--- a/drivers/of/base.c
+++ b/drivers/of/base.c
@@ -270,6 +270,7 @@ struct device_node *__of_find_all_nodes(struct device_node *prev)
 	}
 	return np;
 }
+EXPORT_SYMBOL_GPL(__of_find_all_nodes);
 
 /**
  * of_find_all_nodes - Get next node in global list
-- 
2.11.0

--
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help