diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-07-18 06:01:19 -0400 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2013-07-25 17:18:27 -0400 |
commit | b95e71c6089be027d676544cc6d91e1672ae9c6b (patch) | |
tree | 30b8aaeea49bc8a723fed39ad6e040ddb7011fd1 /drivers/clk/samsung/clk-exynos5250.c | |
parent | 0ffc767f76820f6bdf1297e0834d8006f07f7cb3 (diff) |
clk: exynos5250: Staticize local symbols
Symbols referenced only in this file are made static.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Kukjin Kim <kgene.kim@samsung.com>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/clk/samsung/clk-exynos5250.c')
-rw-r--r-- | drivers/clk/samsung/clk-exynos5250.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/clk/samsung/clk-exynos5250.c b/drivers/clk/samsung/clk-exynos5250.c index 6f767c515ec7..6b2b66d4cb10 100644 --- a/drivers/clk/samsung/clk-exynos5250.c +++ b/drivers/clk/samsung/clk-exynos5250.c | |||
@@ -191,24 +191,24 @@ PNAME(mout_spdif_p) = { "sclk_audio0", "sclk_audio1", "sclk_audio2", | |||
191 | "spdif_extclk" }; | 191 | "spdif_extclk" }; |
192 | 192 | ||
193 | /* fixed rate clocks generated outside the soc */ | 193 | /* fixed rate clocks generated outside the soc */ |
194 | struct samsung_fixed_rate_clock exynos5250_fixed_rate_ext_clks[] __initdata = { | 194 | static struct samsung_fixed_rate_clock exynos5250_fixed_rate_ext_clks[] __initdata = { |
195 | FRATE(fin_pll, "fin_pll", NULL, CLK_IS_ROOT, 0), | 195 | FRATE(fin_pll, "fin_pll", NULL, CLK_IS_ROOT, 0), |
196 | }; | 196 | }; |
197 | 197 | ||
198 | /* fixed rate clocks generated inside the soc */ | 198 | /* fixed rate clocks generated inside the soc */ |
199 | struct samsung_fixed_rate_clock exynos5250_fixed_rate_clks[] __initdata = { | 199 | static struct samsung_fixed_rate_clock exynos5250_fixed_rate_clks[] __initdata = { |
200 | FRATE(none, "sclk_hdmiphy", NULL, CLK_IS_ROOT, 24000000), | 200 | FRATE(none, "sclk_hdmiphy", NULL, CLK_IS_ROOT, 24000000), |
201 | FRATE(none, "sclk_hdmi27m", NULL, CLK_IS_ROOT, 27000000), | 201 | FRATE(none, "sclk_hdmi27m", NULL, CLK_IS_ROOT, 27000000), |
202 | FRATE(none, "sclk_dptxphy", NULL, CLK_IS_ROOT, 24000000), | 202 | FRATE(none, "sclk_dptxphy", NULL, CLK_IS_ROOT, 24000000), |
203 | FRATE(none, "sclk_uhostphy", NULL, CLK_IS_ROOT, 48000000), | 203 | FRATE(none, "sclk_uhostphy", NULL, CLK_IS_ROOT, 48000000), |
204 | }; | 204 | }; |
205 | 205 | ||
206 | struct samsung_fixed_factor_clock exynos5250_fixed_factor_clks[] __initdata = { | 206 | static struct samsung_fixed_factor_clock exynos5250_fixed_factor_clks[] __initdata = { |
207 | FFACTOR(none, "fout_mplldiv2", "fout_mpll", 1, 2, 0), | 207 | FFACTOR(none, "fout_mplldiv2", "fout_mpll", 1, 2, 0), |
208 | FFACTOR(none, "fout_bplldiv2", "fout_bpll", 1, 2, 0), | 208 | FFACTOR(none, "fout_bplldiv2", "fout_bpll", 1, 2, 0), |
209 | }; | 209 | }; |
210 | 210 | ||
211 | struct samsung_mux_clock exynos5250_mux_clks[] __initdata = { | 211 | static struct samsung_mux_clock exynos5250_mux_clks[] __initdata = { |
212 | MUX_A(none, "mout_apll", mout_apll_p, SRC_CPU, 0, 1, "mout_apll"), | 212 | MUX_A(none, "mout_apll", mout_apll_p, SRC_CPU, 0, 1, "mout_apll"), |
213 | MUX_A(none, "mout_cpu", mout_cpu_p, SRC_CPU, 16, 1, "mout_cpu"), | 213 | MUX_A(none, "mout_cpu", mout_cpu_p, SRC_CPU, 16, 1, "mout_cpu"), |
214 | MUX(none, "mout_mpll_fout", mout_mpll_fout_p, PLL_DIV2_SEL, 4, 1), | 214 | MUX(none, "mout_mpll_fout", mout_mpll_fout_p, PLL_DIV2_SEL, 4, 1), |
@@ -254,7 +254,7 @@ struct samsung_mux_clock exynos5250_mux_clks[] __initdata = { | |||
254 | MUX(none, "mout_spi2", mout_group1_p, SRC_PERIC1, 24, 4), | 254 | MUX(none, "mout_spi2", mout_group1_p, SRC_PERIC1, 24, 4), |
255 | }; | 255 | }; |
256 | 256 | ||
257 | struct samsung_div_clock exynos5250_div_clks[] __initdata = { | 257 | static struct samsung_div_clock exynos5250_div_clks[] __initdata = { |
258 | DIV(none, "div_arm", "mout_cpu", DIV_CPU0, 0, 3), | 258 | DIV(none, "div_arm", "mout_cpu", DIV_CPU0, 0, 3), |
259 | DIV(none, "sclk_apll", "mout_apll", DIV_CPU0, 24, 3), | 259 | DIV(none, "sclk_apll", "mout_apll", DIV_CPU0, 24, 3), |
260 | DIV(none, "aclk66_pre", "sclk_mpll_user", DIV_TOP1, 24, 3), | 260 | DIV(none, "aclk66_pre", "sclk_mpll_user", DIV_TOP1, 24, 3), |
@@ -314,7 +314,7 @@ struct samsung_div_clock exynos5250_div_clks[] __initdata = { | |||
314 | DIV_PERIC2, 8, 8, CLK_SET_RATE_PARENT, 0), | 314 | DIV_PERIC2, 8, 8, CLK_SET_RATE_PARENT, 0), |
315 | }; | 315 | }; |
316 | 316 | ||
317 | struct samsung_gate_clock exynos5250_gate_clks[] __initdata = { | 317 | static struct samsung_gate_clock exynos5250_gate_clks[] __initdata = { |
318 | GATE(gscl0, "gscl0", "none", GATE_IP_GSCL, 0, 0, 0), | 318 | GATE(gscl0, "gscl0", "none", GATE_IP_GSCL, 0, 0, 0), |
319 | GATE(gscl1, "gscl1", "none", GATE_IP_GSCL, 1, 0, 0), | 319 | GATE(gscl1, "gscl1", "none", GATE_IP_GSCL, 1, 0, 0), |
320 | GATE(gscl2, "gscl2", "aclk266", GATE_IP_GSCL, 2, 0, 0), | 320 | GATE(gscl2, "gscl2", "aclk266", GATE_IP_GSCL, 2, 0, 0), |
@@ -471,7 +471,7 @@ static __initdata struct of_device_id ext_clk_match[] = { | |||
471 | }; | 471 | }; |
472 | 472 | ||
473 | /* register exynox5250 clocks */ | 473 | /* register exynox5250 clocks */ |
474 | void __init exynos5250_clk_init(struct device_node *np) | 474 | static void __init exynos5250_clk_init(struct device_node *np) |
475 | { | 475 | { |
476 | void __iomem *reg_base; | 476 | void __iomem *reg_base; |
477 | struct clk *apll, *mpll, *epll, *vpll, *bpll, *gpll, *cpll; | 477 | struct clk *apll, *mpll, *epll, *vpll, *bpll, *gpll, *cpll; |