2017-09-23 05:00:34

by Bjorn Andersson

[permalink] [raw]
Subject: [PATCH] clk: Export clk_bulk_prepare()

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 <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
---
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


2017-09-26 23:57:33

by Ulf Hansson

[permalink] [raw]
Subject: Re: [PATCH] clk: Export clk_bulk_prepare()

On 23 September 2017 at 07:00, Bjorn Andersson
<[email protected]> 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 <[email protected]>
> Signed-off-by: Bjorn Andersson <[email protected]>

If not too late,

Reviewed-by: Ulf Hansson <[email protected]>

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
>

2017-09-29 21:17:25

by Stephen Boyd

[permalink] [raw]
Subject: Re: [PATCH] clk: Export clk_bulk_prepare()

On 09/22, Bjorn Andersson 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 <[email protected]>
> Signed-off-by: Bjorn Andersson <[email protected]>
> ---

Applied to clk-fixes

--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project