[RFC/PATCH 1/4] of: Export of_phandle_iterator_args() to modules

Isaac J. Manjarres
2019-05-17T18:48:26Z

Kernel modules may want to use of_phandle_iterator_args(),
so export it.

Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
---
drivers/of/base.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/of/base.c b/drivers/of/base.c
index 20e0e7e..8b9c597 100644
--- a/drivers/of/base.c
+++ b/drivers/of/base.c
@@ -1388,6 +1388,7 @@ int of_phandle_iterator_args(struct of_phandle_iterator *it,

return count;
}
+EXPORT_SYMBOL_GPL(of_phandle_iterator_args);

static int __of_parse_phandle_with_args(const struct device_node *np,
const char *list_name,