summaryrefslogtreecommitdiff
path: root/drivers/clk/rockchip
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2017-08-23 15:35:41 -0700
committerStephen Boyd <sboyd@codeaurora.org>2017-08-23 15:35:41 -0700
commit1dfcfa721f9390ed5fd1e9c48e9fd6e8208a4963 (patch)
treefc0749423295803b27dc47624f126889d673a224 /drivers/clk/rockchip
parentcf657bb940b3106a52d329c039fb705fa8437724 (diff)
clk: rockchip: Mark rockchip_fractional_approximation static
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>
Diffstat (limited to 'drivers/clk/rockchip')
-rw-r--r--drivers/clk/rockchip/clk.c2
1 files changed, 1 insertions, 1 deletions
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)
{