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

Viresh Kumar viresh.kumar at linaro.org
Fri Sep 13 05:45:27 EDT 2013


On 13 September 2013 14:53, Sachin Kamat <sachin.kamat at linaro.org> wrote:
> 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,

Acked-by: Viresh Kumar <viresh.kumar at linaro.org>



More information about the linux-arm-kernel mailing list