[PATCH 02/10] clk: SPEAr: Staticize clk_frac_ops

Sachin Kamat sachin.kamat at linaro.org
Fri Sep 13 05:23:44 EDT 2013


clk_frac_ops is local to this file. Make it static.

Signed-off-by: Sachin Kamat <sachin.kamat at linaro.org>
Cc: 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 958aa3a..dffd4ce 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