diff mbox

clk: Export clk_bulk_prepare()

Message ID 20170923050029.19013-1-bjorn.andersson@linaro.org (mailing list archive)
State Accepted
Headers show

Commit Message

Bjorn Andersson Sept. 23, 2017, 5 a.m. UTC
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>
---
 drivers/clk/clk-bulk.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Ulf Hansson Sept. 26, 2017, 11:57 p.m. UTC | #1
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
>
--
To unsubscribe from this list: send the line "unsubscribe linux-clk" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Stephen Boyd Sept. 29, 2017, 9:17 p.m. UTC | #2
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 <ulf.hansson@linaro.org>
> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
> ---

Applied to clk-fixes
diff mbox

Patch

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