diff mbox series

clk: export clk_bulk_prepare

Message ID 20171005121301.584338-1-arnd@arndb.de
State New
Headers show
Series clk: export clk_bulk_prepare | expand

Commit Message

Arnd Bergmann Oct. 5, 2017, 12:12 p.m. UTC
The ARM allmodconfig build fails in linux-next, since one
clk interface was accidentally never exported but is now
used by an mmc driver:

ERROR: "clk_bulk_prepare" [drivers/mmc/host/sdhci-msm.ko] undefined!

This exports it as well.

Fixes: d8034e3379a8 ("mmc: sdhci-msm: Utilize bulk clock API")
Fixes: 266e4e9d9150 ("clk: add clk_bulk_get accessories")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>

---
 drivers/clk/clk-bulk.c | 1 +
 1 file changed, 1 insertion(+)

-- 
2.9.0

Comments

Stephen Boyd Oct. 5, 2017, 5:22 p.m. UTC | #1
On 10/05, Arnd Bergmann wrote:
> The ARM allmodconfig build fails in linux-next, since one


Which version of linux-next? I merged a patch for this already
and pushed it out a day or two ago.

> clk interface was accidentally never exported but is now

> used by an mmc driver:

> 


-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
Arnd Bergmann Oct. 5, 2017, 8:31 p.m. UTC | #2
On Thu, Oct 5, 2017 at 7:22 PM, Stephen Boyd <sboyd@codeaurora.org> wrote:
> On 10/05, Arnd Bergmann wrote:

>> The ARM allmodconfig build fails in linux-next, since one

>

> Which version of linux-next? I merged a patch for this already

> and pushed it out a day or two ago.


I used the latest linux-next, which unfortunately is a few days old by now,
just ignore my patch then.

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