Re: [PATCH] clk: Export clk_bulk_prepare()

Ulf Hansson
2017-09-26T23:57:33Z

On 23 September 2017 at 07:00, Bjorn Andersson
<bjorn.andersson@linaro.org> wrote:
> Allow clk_bulk_prepare() to be referenced by kernel modules by adding
> the missing EXPORT_SYMBOL_GPL().
>
> Fixes: 266e4e9d9150 ("clk: add clk_bulk_get accessories")
> Reported-by: Ulf Hansson <ulf.hansson@linaro.org>
> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>

If not too late,

Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>

Kind regards
Uffe

> ---
> drivers/clk/clk-bulk.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/clk/clk-bulk.c b/drivers/clk/clk-bulk.c
> index c834f5abfc49..4c10456f8a32 100644
> --- a/drivers/clk/clk-bulk.c
> +++ b/drivers/clk/clk-bulk.c
> @@ -105,6 +105,7 @@ int __must_check clk_bulk_prepare(int num_clks,
>
> return ret;
> }
> +EXPORT_SYMBOL_GPL(clk_bulk_prepare);
>
> #endif /* CONFIG_HAVE_CLK_PREPARE */
>
> --
> 2.12.0
>