summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/clk-pllv2.c
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2013-03-25 13:20:34 +0100
committerShawn Guo <shawn.guo@linaro.org>2013-04-01 10:17:50 +0200
commit191f162c40b4db205c12c25941a30f722ba0a4be (patch)
treee201c40b29ad4ce254485953890315592ffcdf53 /arch/arm/mach-imx/clk-pllv2.c
parentARM: mach-imx: clk-pllv1: Staticize clk_pllv1_ops (diff)
downloadlinux-191f162c40b4db205c12c25941a30f722ba0a4be.tar.xz
linux-191f162c40b4db205c12c25941a30f722ba0a4be.zip
ARM: mach-imx: clk-pllv2: Staticize clk_pllv2_ops
Fix the following sparse warning: rch/arm/mach-imx/clk-pllv2.c:232:16: warning: symbol 'clk_pllv2_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>
Diffstat (limited to 'arch/arm/mach-imx/clk-pllv2.c')
-rw-r--r--arch/arm/mach-imx/clk-pllv2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/clk-pllv2.c b/arch/arm/mach-imx/clk-pllv2.c
index 0440379e3628..20889d59b44d 100644
--- a/arch/arm/mach-imx/clk-pllv2.c
+++ b/arch/arm/mach-imx/clk-pllv2.c
@@ -229,7 +229,7 @@ static void clk_pllv2_unprepare(struct clk_hw *hw)
__raw_writel(reg, pllbase + MXC_PLL_DP_CTL);
}
-struct clk_ops clk_pllv2_ops = {
+static struct clk_ops clk_pllv2_ops = {
.prepare = clk_pllv2_prepare,
.unprepare = clk_pllv2_unprepare,
.recalc_rate = clk_pllv2_recalc_rate,