OSDN Git Service

ARM: mach-imx: clk-pllv1: Staticize clk_pllv1_ops
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 25 Mar 2013 12:20:33 +0000 (09:20 -0300)
committerShawn Guo <shawn.guo@linaro.org>
Mon, 1 Apr 2013 08:17:49 +0000 (16:17 +0800)
Fix the following sparse warning:

arch/arm/mach-imx/clk-pllv1.c:81:16: warning: symbol 'clk_pllv1_ops' was not declared. Should it be static?

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/mach-imx/clk-pllv1.c

index abff350..c1eaee3 100644 (file)
@@ -78,7 +78,7 @@ static unsigned long clk_pllv1_recalc_rate(struct clk_hw *hw,
        return ll;
 }
 
-struct clk_ops clk_pllv1_ops = {
+static struct clk_ops clk_pllv1_ops = {
        .recalc_rate = clk_pllv1_recalc_rate,
 };