diff mbox series

clk: Export clk_bulk_prepare()

Message ID 20170923050029.19013-1-bjorn.andersson@linaro.org
State Accepted
Commit 9792bf5ad5e30b207274ccbb459a89eab6033b46
Headers show
Series clk: Export clk_bulk_prepare() | expand

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(+)

-- 
2.12.0

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

>
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

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

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