[PATCH Resend 1/7] clk: SPEAr: Staticize clk_frac_ops

Sachin Kamat sachin.kamat at linaro.org
Thu Dec 19 03:53:55 EST 2013


clk_frac_ops is local to this file. Make it static.

Signed-off-by: Sachin Kamat <sachin.kamat at linaro.org>
Acked-by: Viresh Kumar <viresh.kumar at linaro.org>
---
 drivers/clk/spear/clk-frac-synth.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/spear/clk-frac-synth.c b/drivers/clk/spear/clk-frac-synth.c
index 958aa3ad1d60..dffd4ce6c8b5 100644
--- a/drivers/clk/spear/clk-frac-synth.c
+++ b/drivers/clk/spear/clk-frac-synth.c
@@ -116,7 +116,7 @@ static int clk_frac_set_rate(struct clk_hw *hw, unsigned long drate,
 	return 0;
 }
 
-struct clk_ops clk_frac_ops = {
+static struct clk_ops clk_frac_ops = {
 	.recalc_rate = clk_frac_recalc_rate,
 	.round_rate = clk_frac_round_rate,
 	.set_rate = clk_frac_set_rate,
-- 
1.7.9.5




More information about the linux-arm-kernel mailing list