2019-05-17 18:51:10

by Isaac J. Manjarres

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

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

Signed-off-by: Isaac J. Manjarres <[email protected]>
---
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


2019-05-17 23:03:38

by Rob Herring

[permalink] [raw]
Subject: Re: [RFC/PATCH 1/4] of: Export of_phandle_iterator_args() to modules

On Fri, May 17, 2019 at 1:48 PM Isaac J. Manjarres
<[email protected]> wrote:
>
> Kernel modules may want to use of_phandle_iterator_args(),
> so export it.
>
> Signed-off-by: Isaac J. Manjarres <[email protected]>
> ---
> drivers/of/base.c | 1 +
> 1 file changed, 1 insertion(+)

Acked-by: Rob Herring <[email protected]>