* [PATCH] clk: export __clk_round_rate for providers
@ 2014-06-03 9:40 Arnd Bergmann
2014-06-03 17:37 ` Mike Turquette
0 siblings, 1 reply; 2+ messages in thread
From: Arnd Bergmann @ 2014-06-03 9:40 UTC (permalink / raw)
To: linux-arm-kernel
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.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Stephen Boyd <sboyd@codeaurora.org>
Cc: Mike Turquette <mturquette@linaro.org>
diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
index 2df2b26..8b73ede 100644
--- a/drivers/clk/clk.c
+++ b/drivers/clk/clk.c
@@ -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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] clk: export __clk_round_rate for providers
2014-06-03 9:40 [PATCH] clk: export __clk_round_rate for providers Arnd Bergmann
@ 2014-06-03 17:37 ` Mike Turquette
0 siblings, 0 replies; 2+ messages in thread
From: Mike Turquette @ 2014-06-03 17:37 UTC (permalink / raw)
To: linux-arm-kernel
Quoting Arnd Bergmann (2014-06-03 02:40:14)
> 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.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> Cc: Stephen Boyd <sboyd@codeaurora.org>
> Cc: Mike Turquette <mturquette@linaro.org>
Applied.
Thanks,
Mike
>
> diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
> index 2df2b26..8b73ede 100644
> --- a/drivers/clk/clk.c
> +++ b/drivers/clk/clk.c
> @@ -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
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-06-03 17:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-03 9:40 [PATCH] clk: export __clk_round_rate for providers Arnd Bergmann
2014-06-03 17:37 ` Mike Turquette
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).