Am Freitag, 4. September 2020, 09:44:03 CEST schrieb Elaine Zhang:
> This is used by the Rockchip clk driver, export it to allow that
> driver to be compiled as a module.
> 
> Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com>
> Reviewed-by: Kever Yang <kever.y...@rock-chips.com>
> ---
>  drivers/clk/rockchip/clk.c | 52 ++++++++++++++++++++++----------------
>  1 file changed, 30 insertions(+), 22 deletions(-)
> 
> diff --git a/drivers/clk/rockchip/clk.c b/drivers/clk/rockchip/clk.c
> index 46409972983e..fd3aff2a599d 100644
> --- a/drivers/clk/rockchip/clk.c
> +++ b/drivers/clk/rockchip/clk.c
> @@ -360,8 +360,9 @@ static struct clk 
> *rockchip_clk_register_factor_branch(const char *name,
>       return hw->clk;
>  }
>  
> -struct rockchip_clk_provider * __init rockchip_clk_init(struct device_node 
> *np,
> -                     void __iomem *base, unsigned long nr_clks)
> +struct rockchip_clk_provider *rockchip_clk_init(struct device_node *np,
> +                                             void __iomem *base,
> +                                             unsigned long nr_clks)
>  {
>       struct rockchip_clk_provider *ctx;
>       struct clk **clk_table;
> @@ -393,14 +394,16 @@ struct rockchip_clk_provider * __init 
> rockchip_clk_init(struct device_node *np,
>       kfree(ctx);
>       return ERR_PTR(-ENOMEM);
>  }
> +EXPORT_SYMBOL(rockchip_clk_init);

again, same comment about EXPORT_SYMBOL_GPL


Reply via email to