diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2016-05-11 08:02:03 -0400 |
---|---|---|
committer | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2016-06-02 05:18:04 -0400 |
commit | ccd12b5cd69fbe33551922f03fe22e1053e5243c (patch) | |
tree | d0baa3c5fd89b343692fe48db833597113a5a130 /drivers/clk/samsung | |
parent | ab7cc66dfa8e35e84a90ddfbb54f9bfadfbc2817 (diff) |
clk: samsung: exynos4415: Move PLL rates data to init section
The arrays with initialization data of PLLs can be moved to initconst
section because they are referenced only from other initconst-level
symbols.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Diffstat (limited to 'drivers/clk/samsung')
-rw-r--r-- | drivers/clk/samsung/clk-exynos4415.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clk/samsung/clk-exynos4415.c b/drivers/clk/samsung/clk-exynos4415.c index 1a9e9d039a3f..6c9063159717 100644 --- a/drivers/clk/samsung/clk-exynos4415.c +++ b/drivers/clk/samsung/clk-exynos4415.c | |||
@@ -859,7 +859,7 @@ static const struct samsung_gate_clock exynos4415_gate_clks[] __initconst = { | |||
859 | /* | 859 | /* |
860 | * APLL & MPLL & BPLL & ISP_PLL & DISP_PLL & G3D_PLL | 860 | * APLL & MPLL & BPLL & ISP_PLL & DISP_PLL & G3D_PLL |
861 | */ | 861 | */ |
862 | static const struct samsung_pll_rate_table exynos4415_pll_rates[] = { | 862 | static const struct samsung_pll_rate_table exynos4415_pll_rates[] __initconst = { |
863 | PLL_35XX_RATE(1600000000, 400, 3, 1), | 863 | PLL_35XX_RATE(1600000000, 400, 3, 1), |
864 | PLL_35XX_RATE(1500000000, 250, 2, 1), | 864 | PLL_35XX_RATE(1500000000, 250, 2, 1), |
865 | PLL_35XX_RATE(1400000000, 175, 3, 0), | 865 | PLL_35XX_RATE(1400000000, 175, 3, 0), |
@@ -891,7 +891,7 @@ static const struct samsung_pll_rate_table exynos4415_pll_rates[] = { | |||
891 | }; | 891 | }; |
892 | 892 | ||
893 | /* EPLL */ | 893 | /* EPLL */ |
894 | static const struct samsung_pll_rate_table exynos4415_epll_rates[] = { | 894 | static const struct samsung_pll_rate_table exynos4415_epll_rates[] __initconst = { |
895 | PLL_36XX_RATE(800000000, 200, 3, 1, 0), | 895 | PLL_36XX_RATE(800000000, 200, 3, 1, 0), |
896 | PLL_36XX_RATE(288000000, 96, 2, 2, 0), | 896 | PLL_36XX_RATE(288000000, 96, 2, 2, 0), |
897 | PLL_36XX_RATE(192000000, 128, 2, 3, 0), | 897 | PLL_36XX_RATE(192000000, 128, 2, 3, 0), |