linux-clk.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] clk: rockchip: Mark rockchip_fractional_approximation static
@ 2017-08-23 22:39 Stephen Boyd
  2017-08-23 23:08 ` Stephen Boyd
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Boyd @ 2017-08-23 22:39 UTC (permalink / raw)
  To: Michael Turquette, Stephen Boyd
  Cc: linux-kernel, linux-clk, Elaine Zhang, Heiko Stuebner

Silence the sparse warning

clk/rockchip/clk.c:172:6: warning: symbol 'rockchip_fractional_approximation' was not declared. Should it be static?

Cc: Elaine Zhang <zhangqing@rock-chips.com>
Cc: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
---
 drivers/clk/rockchip/clk.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/rockchip/clk.c b/drivers/clk/rockchip/clk.c
index b6db79a00602..35dbd63c2f49 100644
--- a/drivers/clk/rockchip/clk.c
+++ b/drivers/clk/rockchip/clk.c
@@ -169,7 +169,7 @@ static int rockchip_clk_frac_notifier_cb(struct notifier_block *nb,
  * fractional divider must set that denominator is 20 times larger than
  * numerator to generate precise clock frequency.
  */
-void rockchip_fractional_approximation(struct clk_hw *hw,
+static void rockchip_fractional_approximation(struct clk_hw *hw,
 		unsigned long rate, unsigned long *parent_rate,
 		unsigned long *m, unsigned long *n)
 {
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] clk: rockchip: Mark rockchip_fractional_approximation static
  2017-08-23 22:39 [PATCH] clk: rockchip: Mark rockchip_fractional_approximation static Stephen Boyd
@ 2017-08-23 23:08 ` Stephen Boyd
  2017-08-24  8:32   ` Heiko Stuebner
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Boyd @ 2017-08-23 23:08 UTC (permalink / raw)
  To: Michael Turquette; +Cc: linux-kernel, linux-clk, Elaine Zhang, Heiko Stuebner

On 08/23, Stephen Boyd wrote:
> Silence the sparse warning
> 
> clk/rockchip/clk.c:172:6: warning: symbol 'rockchip_fractional_approximation' was not declared. Should it be static?
> 
> Cc: Elaine Zhang <zhangqing@rock-chips.com>
> Cc: Heiko Stuebner <heiko@sntech.de>
> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
> ---

Applied to clk-next

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] clk: rockchip: Mark rockchip_fractional_approximation static
  2017-08-23 23:08 ` Stephen Boyd
@ 2017-08-24  8:32   ` Heiko Stuebner
  0 siblings, 0 replies; 3+ messages in thread
From: Heiko Stuebner @ 2017-08-24  8:32 UTC (permalink / raw)
  To: Stephen Boyd; +Cc: Michael Turquette, linux-kernel, linux-clk, Elaine Zhang

Am Mittwoch, 23. August 2017, 16:08:19 CEST schrieb Stephen Boyd:
> On 08/23, Stephen Boyd wrote:
> > Silence the sparse warning
> > 
> > clk/rockchip/clk.c:172:6: warning: symbol 'rockchip_fractional_approximation' was not declared. Should it be static?
> > 
> > Cc: Elaine Zhang <zhangqing@rock-chips.com>
> > Cc: Heiko Stuebner <heiko@sntech.de>
> > Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
> > ---
> 
> Applied to clk-next

thanks for catching that.

Heiko

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-08-24  8:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-23 22:39 [PATCH] clk: rockchip: Mark rockchip_fractional_approximation static Stephen Boyd
2017-08-23 23:08 ` Stephen Boyd
2017-08-24  8:32   ` Heiko Stuebner

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).