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

From: Isaac J. Manjarres
Date: Fri May 17 2019 - 14:50:34 EST


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

Signed-off-by: Isaac J. Manjarres <isaacm@xxxxxxxxxxxxxx>
---
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,
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project