Skip to contentSkip to conversation

clk: export clk_bulk_prepare

PATCH In review Arnd Bergmann 2 participants 3 messages Oct 5, 2017 Common clk

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clk: export clk_bulk_prepare

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")
---
 drivers/clk/clk-bulk.c | 1 +
 1 file changed, 1 insertion(+)
drivers/clk/clk-bulk.c +1 -0
index c834f5abfc49..4c10456f8a32 100644
@@ -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 */
 
Signature · 1 line
2.9.0
#1 lore raw
Quoted 1 line · Arnd Bergmann

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.

Quoted 3 lines

clk interface was accidentally never exported but is now used by an mmc driver:

Signature · 2 lines
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
#2 lore raw
Quoted 5 lines · Stephen Boyd
Quoted 1 line · Arnd Bergmann

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