Re: [PATCH] clk: Make of_clk_get_from_provider() available to modules

From: Michael Turquette
Date: Wed Feb 17 2016 - 19:58:11 EST


Quoting Andrew F. Davis (2016-02-12 10:50:16)
> Export symbol of_clk_get_from_provider so it can be used in
> loadable kernel modules
>
> Signed-off-by: Andrew F. Davis <afd@xxxxxx>

Applied.

Regards,
Mike

> ---
> We will be pushing stuff that needs this next cycle.
>
> drivers/clk/clk.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
> index b4db67a..0a24736 100644
> --- a/drivers/clk/clk.c
> +++ b/drivers/clk/clk.c
> @@ -3061,6 +3061,7 @@ struct clk *of_clk_get_from_provider(struct of_phandle_args *clkspec)
> {
> return __of_clk_get_from_provider(clkspec, NULL, __func__);
> }
> +EXPORT_SYMBOL_GPL(of_clk_get_from_provider);
>
> int of_clk_get_parent_count(struct device_node *np)
> {
> --
> 2.7.1
>