Message ID | 1379064232-10261-2-git-send-email-sachin.kamat@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 13 September 2013 14:53, Sachin Kamat <sachin.kamat@linaro.org> wrote: > clk_frac_ops is local to this file. Make it static. > > Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> > Cc: Viresh Kumar <viresh.kumar@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, Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
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,
clk_frac_ops is local to this file. Make it static. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Cc: Viresh Kumar <viresh.kumar@linaro.org> --- drivers/clk/spear/clk-frac-synth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)