summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2013-03-25 09:20:33 -0300
committerShawn Guo <shawn.guo@linaro.org>2013-04-01 16:17:49 +0800
commite9d8ab892eecf13bd60829c548e62d3dccfae3be (patch)
treead2757df2e1c02acf665449f240d4fbe329fb21b
parent22567796220cc275e360cdb4bf9ca56067ebc5f0 (diff)
downloadlinux-e9d8ab892eecf13bd60829c548e62d3dccfae3be.tar.bz2
ARM: mach-imx: clk-pllv1: Staticize clk_pllv1_ops
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>
-rw-r--r--arch/arm/mach-imx/clk-pllv1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/clk-pllv1.c b/arch/arm/mach-imx/clk-pllv1.c
index abff350ba24c..c1eaee346954 100644
--- a/arch/arm/mach-imx/clk-pllv1.c
+++ b/arch/arm/mach-imx/clk-pllv1.c
@@ -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,
};