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
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
>
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