diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-07-18 06:01:21 -0400 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2013-07-25 17:18:36 -0400 |
commit | 901f857605882b9374a1f4150b746932cf527821 (patch) | |
tree | 61296eb25c40a264df35d739e5f79b078ad4eb91 | |
parent | c7306229d3c42881fcc7fd707948bbc3e5430662 (diff) |
clk: exynos5440: 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>
-rw-r--r-- | drivers/clk/samsung/clk-exynos5440.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/clk/samsung/clk-exynos5440.c b/drivers/clk/samsung/clk-exynos5440.c index 7d5434167a96..6d043a285d86 100644 --- a/drivers/clk/samsung/clk-exynos5440.c +++ b/drivers/clk/samsung/clk-exynos5440.c | |||
@@ -41,12 +41,12 @@ PNAME(mout_armclk_p) = { "cplla", "cpllb" }; | |||
41 | PNAME(mout_spi_p) = { "div125", "div200" }; | 41 | PNAME(mout_spi_p) = { "div125", "div200" }; |
42 | 42 | ||
43 | /* fixed rate clocks generated outside the soc */ | 43 | /* fixed rate clocks generated outside the soc */ |
44 | struct samsung_fixed_rate_clock exynos5440_fixed_rate_ext_clks[] __initdata = { | 44 | static struct samsung_fixed_rate_clock exynos5440_fixed_rate_ext_clks[] __initdata = { |
45 | FRATE(none, "xtal", NULL, CLK_IS_ROOT, 0), | 45 | FRATE(none, "xtal", NULL, CLK_IS_ROOT, 0), |
46 | }; | 46 | }; |
47 | 47 | ||
48 | /* fixed rate clocks */ | 48 | /* fixed rate clocks */ |
49 | struct samsung_fixed_rate_clock exynos5440_fixed_rate_clks[] __initdata = { | 49 | static struct samsung_fixed_rate_clock exynos5440_fixed_rate_clks[] __initdata = { |
50 | FRATE(none, "ppll", NULL, CLK_IS_ROOT, 1000000000), | 50 | FRATE(none, "ppll", NULL, CLK_IS_ROOT, 1000000000), |
51 | FRATE(none, "usb_phy0", NULL, CLK_IS_ROOT, 60000000), | 51 | FRATE(none, "usb_phy0", NULL, CLK_IS_ROOT, 60000000), |
52 | FRATE(none, "usb_phy1", NULL, CLK_IS_ROOT, 60000000), | 52 | FRATE(none, "usb_phy1", NULL, CLK_IS_ROOT, 60000000), |
@@ -55,26 +55,26 @@ struct samsung_fixed_rate_clock exynos5440_fixed_rate_clks[] __initdata = { | |||
55 | }; | 55 | }; |
56 | 56 | ||
57 | /* fixed factor clocks */ | 57 | /* fixed factor clocks */ |
58 | struct samsung_fixed_factor_clock exynos5440_fixed_factor_clks[] __initdata = { | 58 | static struct samsung_fixed_factor_clock exynos5440_fixed_factor_clks[] __initdata = { |
59 | FFACTOR(none, "div250", "ppll", 1, 4, 0), | 59 | FFACTOR(none, "div250", "ppll", 1, 4, 0), |
60 | FFACTOR(none, "div200", "ppll", 1, 5, 0), | 60 | FFACTOR(none, "div200", "ppll", 1, 5, 0), |
61 | FFACTOR(none, "div125", "div250", 1, 2, 0), | 61 | FFACTOR(none, "div125", "div250", 1, 2, 0), |
62 | }; | 62 | }; |
63 | 63 | ||
64 | /* mux clocks */ | 64 | /* mux clocks */ |
65 | struct samsung_mux_clock exynos5440_mux_clks[] __initdata = { | 65 | static struct samsung_mux_clock exynos5440_mux_clks[] __initdata = { |
66 | MUX(none, "mout_spi", mout_spi_p, MISC_DOUT1, 5, 1), | 66 | MUX(none, "mout_spi", mout_spi_p, MISC_DOUT1, 5, 1), |
67 | MUX_A(arm_clk, "arm_clk", mout_armclk_p, | 67 | MUX_A(arm_clk, "arm_clk", mout_armclk_p, |
68 | CPU_CLK_STATUS, 0, 1, "armclk"), | 68 | CPU_CLK_STATUS, 0, 1, "armclk"), |
69 | }; | 69 | }; |
70 | 70 | ||
71 | /* divider clocks */ | 71 | /* divider clocks */ |
72 | struct samsung_div_clock exynos5440_div_clks[] __initdata = { | 72 | static struct samsung_div_clock exynos5440_div_clks[] __initdata = { |
73 | DIV(spi_baud, "div_spi", "mout_spi", MISC_DOUT1, 3, 2), | 73 | DIV(spi_baud, "div_spi", "mout_spi", MISC_DOUT1, 3, 2), |
74 | }; | 74 | }; |
75 | 75 | ||
76 | /* gate clocks */ | 76 | /* gate clocks */ |
77 | struct samsung_gate_clock exynos5440_gate_clks[] __initdata = { | 77 | static struct samsung_gate_clock exynos5440_gate_clks[] __initdata = { |
78 | GATE(pb0_250, "pb0_250", "div250", CLKEN_OV_VAL, 3, 0, 0), | 78 | GATE(pb0_250, "pb0_250", "div250", CLKEN_OV_VAL, 3, 0, 0), |
79 | GATE(pr0_250, "pr0_250", "div250", CLKEN_OV_VAL, 4, 0, 0), | 79 | GATE(pr0_250, "pr0_250", "div250", CLKEN_OV_VAL, 4, 0, 0), |
80 | GATE(pr1_250, "pr1_250", "div250", CLKEN_OV_VAL, 5, 0, 0), | 80 | GATE(pr1_250, "pr1_250", "div250", CLKEN_OV_VAL, 5, 0, 0), |
@@ -103,7 +103,7 @@ static __initdata struct of_device_id ext_clk_match[] = { | |||
103 | }; | 103 | }; |
104 | 104 | ||
105 | /* register exynos5440 clocks */ | 105 | /* register exynos5440 clocks */ |
106 | void __init exynos5440_clk_init(struct device_node *np) | 106 | static void __init exynos5440_clk_init(struct device_node *np) |
107 | { | 107 | { |
108 | void __iomem *reg_base; | 108 | void __iomem *reg_base; |
109 | 109 | ||