Skip to contentSkip to conversation

clk: export __clk_round_rate for providers

PATCH New Arnd Bergmann 2 participants 2 messages Jun 3, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clk: export __clk_round_rate for providers

Commit 99cbd064b0 ("clk: qcom: Support display RCG clocks") adds a use of the __clk_round_rate in a clock provided that can be built as a loadable module.

This exports the symbol to avoid the build error from compiling the qcom clock as a module.

Cc Stephen Boyd <[email protected]>
Cc Mike Turquette <[email protected]>
drivers/clk/clk.c +1 -0
index 2df2b26..8b73ede 100644
@@ -1006,6 +1006,7 @@ unsigned long __clk_round_rate(struct clk *clk, unsigned long rate)
 	else
 		return clk->rate;
 }
+EXPORT_SYMBOL_GPL(__clk_round_rate);
 
 /**
  * clk_round_rate - round the given rate for a clk
#1 lore raw

PATCH 1/1 clk: export __clk_round_rate for providers

Quoting Arnd Bergmann (2014-06-03 02:40:14)

Quoted 10 lines

Commit 99cbd064b0 ("clk: qcom: Support display RCG clocks") adds a use of the __clk_round_rate in a clock provided that can be built as a loadable module.

This exports the symbol to avoid the build error from compiling the qcom clock as a module.

Cc Stephen Boyd <[email protected]>
Cc Mike Turquette <[email protected]>

Applied.

Thanks,
Mike

Quoted 14 lines
drivers/clk/clk.c +1 -0
index 2df2b26..8b73ede 100644
@@ -1006,6 +1006,7 @@ unsigned long __clk_round_rate(struct clk *clk, unsigned long rate)
        else
                return clk->rate;
 }
+EXPORT_SYMBOL_GPL(__clk_round_rate);
 
 /**
  * clk_round_rate - round the given rate for a clk