diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2016-05-11 08:02:01 -0400 |
---|---|---|
committer | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2016-06-02 05:18:02 -0400 |
commit | d0e4ca56958cea68dd9493a84c77a713e172da5c (patch) | |
tree | cc929ce845642424c4de46445ec1b2bcb2bbd21e /drivers/clk/samsung | |
parent | 8f3ac36de17ab056f43b509926ee81a09adae99b (diff) |
clk: samsung: exynos4: Constify all clock initializers
All of initialization data can be made const.
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-exynos4.c | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/drivers/clk/samsung/clk-exynos4.c b/drivers/clk/samsung/clk-exynos4.c index 5cac5b7892d7..13eaf4cb0dbc 100644 --- a/drivers/clk/samsung/clk-exynos4.c +++ b/drivers/clk/samsung/clk-exynos4.c | |||
@@ -169,7 +169,7 @@ static struct samsung_clk_reg_dump *exynos4_save_pll; | |||
169 | * list of controller registers to be saved and restored during a | 169 | * list of controller registers to be saved and restored during a |
170 | * suspend/resume cycle. | 170 | * suspend/resume cycle. |
171 | */ | 171 | */ |
172 | static unsigned long exynos4210_clk_save[] __initdata = { | 172 | static const unsigned long exynos4210_clk_save[] __initconst = { |
173 | E4210_SRC_IMAGE, | 173 | E4210_SRC_IMAGE, |
174 | E4210_SRC_LCD1, | 174 | E4210_SRC_LCD1, |
175 | E4210_SRC_MASK_LCD1, | 175 | E4210_SRC_MASK_LCD1, |
@@ -181,7 +181,7 @@ static unsigned long exynos4210_clk_save[] __initdata = { | |||
181 | PWR_CTRL1, | 181 | PWR_CTRL1, |
182 | }; | 182 | }; |
183 | 183 | ||
184 | static unsigned long exynos4x12_clk_save[] __initdata = { | 184 | static const unsigned long exynos4x12_clk_save[] __initconst = { |
185 | E4X12_GATE_IP_IMAGE, | 185 | E4X12_GATE_IP_IMAGE, |
186 | E4X12_GATE_IP_PERIR, | 186 | E4X12_GATE_IP_PERIR, |
187 | E4X12_SRC_CAM1, | 187 | E4X12_SRC_CAM1, |
@@ -192,7 +192,7 @@ static unsigned long exynos4x12_clk_save[] __initdata = { | |||
192 | E4X12_PWR_CTRL2, | 192 | E4X12_PWR_CTRL2, |
193 | }; | 193 | }; |
194 | 194 | ||
195 | static unsigned long exynos4_clk_pll_regs[] __initdata = { | 195 | static const unsigned long exynos4_clk_pll_regs[] __initconst = { |
196 | EPLL_LOCK, | 196 | EPLL_LOCK, |
197 | VPLL_LOCK, | 197 | VPLL_LOCK, |
198 | EPLL_CON0, | 198 | EPLL_CON0, |
@@ -203,7 +203,7 @@ static unsigned long exynos4_clk_pll_regs[] __initdata = { | |||
203 | VPLL_CON2, | 203 | VPLL_CON2, |
204 | }; | 204 | }; |
205 | 205 | ||
206 | static unsigned long exynos4_clk_regs[] __initdata = { | 206 | static const unsigned long exynos4_clk_regs[] __initconst = { |
207 | SRC_LEFTBUS, | 207 | SRC_LEFTBUS, |
208 | DIV_LEFTBUS, | 208 | DIV_LEFTBUS, |
209 | GATE_IP_LEFTBUS, | 209 | GATE_IP_LEFTBUS, |
@@ -505,28 +505,28 @@ static struct samsung_fixed_rate_clock exynos4_fixed_rate_ext_clks[] __initdata | |||
505 | }; | 505 | }; |
506 | 506 | ||
507 | /* fixed rate clocks generated inside the soc */ | 507 | /* fixed rate clocks generated inside the soc */ |
508 | static struct samsung_fixed_rate_clock exynos4_fixed_rate_clks[] __initdata = { | 508 | static const struct samsung_fixed_rate_clock exynos4_fixed_rate_clks[] __initconst = { |
509 | FRATE(0, "sclk_hdmi24m", NULL, 0, 24000000), | 509 | FRATE(0, "sclk_hdmi24m", NULL, 0, 24000000), |
510 | FRATE(CLK_SCLK_HDMIPHY, "sclk_hdmiphy", "hdmi", 0, 27000000), | 510 | FRATE(CLK_SCLK_HDMIPHY, "sclk_hdmiphy", "hdmi", 0, 27000000), |
511 | FRATE(0, "sclk_usbphy0", NULL, 0, 48000000), | 511 | FRATE(0, "sclk_usbphy0", NULL, 0, 48000000), |
512 | }; | 512 | }; |
513 | 513 | ||
514 | static struct samsung_fixed_rate_clock exynos4210_fixed_rate_clks[] __initdata = { | 514 | static const struct samsung_fixed_rate_clock exynos4210_fixed_rate_clks[] __initconst = { |
515 | FRATE(0, "sclk_usbphy1", NULL, 0, 48000000), | 515 | FRATE(0, "sclk_usbphy1", NULL, 0, 48000000), |
516 | }; | 516 | }; |
517 | 517 | ||
518 | static struct samsung_fixed_factor_clock exynos4_fixed_factor_clks[] __initdata = { | 518 | static const struct samsung_fixed_factor_clock exynos4_fixed_factor_clks[] __initconst = { |
519 | FFACTOR(0, "sclk_apll_div_2", "sclk_apll", 1, 2, 0), | 519 | FFACTOR(0, "sclk_apll_div_2", "sclk_apll", 1, 2, 0), |
520 | FFACTOR(0, "fout_mpll_div_2", "fout_mpll", 1, 2, 0), | 520 | FFACTOR(0, "fout_mpll_div_2", "fout_mpll", 1, 2, 0), |
521 | FFACTOR(0, "fout_apll_div_2", "fout_apll", 1, 2, 0), | 521 | FFACTOR(0, "fout_apll_div_2", "fout_apll", 1, 2, 0), |
522 | FFACTOR(0, "arm_clk_div_2", "div_core2", 1, 2, 0), | 522 | FFACTOR(0, "arm_clk_div_2", "div_core2", 1, 2, 0), |
523 | }; | 523 | }; |
524 | 524 | ||
525 | static struct samsung_fixed_factor_clock exynos4210_fixed_factor_clks[] __initdata = { | 525 | static const struct samsung_fixed_factor_clock exynos4210_fixed_factor_clks[] __initconst = { |
526 | FFACTOR(0, "sclk_mpll_div_2", "sclk_mpll", 1, 2, 0), | 526 | FFACTOR(0, "sclk_mpll_div_2", "sclk_mpll", 1, 2, 0), |
527 | }; | 527 | }; |
528 | 528 | ||
529 | static struct samsung_fixed_factor_clock exynos4x12_fixed_factor_clks[] __initdata = { | 529 | static const struct samsung_fixed_factor_clock exynos4x12_fixed_factor_clks[] __initconst = { |
530 | FFACTOR(0, "sclk_mpll_user_l_div_2", "mout_mpll_user_l", 1, 2, 0), | 530 | FFACTOR(0, "sclk_mpll_user_l_div_2", "mout_mpll_user_l", 1, 2, 0), |
531 | FFACTOR(0, "sclk_mpll_user_r_div_2", "mout_mpll_user_r", 1, 2, 0), | 531 | FFACTOR(0, "sclk_mpll_user_r_div_2", "mout_mpll_user_r", 1, 2, 0), |
532 | FFACTOR(0, "sclk_mpll_user_t_div_2", "mout_mpll_user_t", 1, 2, 0), | 532 | FFACTOR(0, "sclk_mpll_user_t_div_2", "mout_mpll_user_t", 1, 2, 0), |
@@ -534,7 +534,7 @@ static struct samsung_fixed_factor_clock exynos4x12_fixed_factor_clks[] __initda | |||
534 | }; | 534 | }; |
535 | 535 | ||
536 | /* list of mux clocks supported in all exynos4 soc's */ | 536 | /* list of mux clocks supported in all exynos4 soc's */ |
537 | static struct samsung_mux_clock exynos4_mux_clks[] __initdata = { | 537 | static const struct samsung_mux_clock exynos4_mux_clks[] __initconst = { |
538 | MUX_FA(CLK_MOUT_APLL, "mout_apll", mout_apll_p, SRC_CPU, 0, 1, | 538 | MUX_FA(CLK_MOUT_APLL, "mout_apll", mout_apll_p, SRC_CPU, 0, 1, |
539 | CLK_SET_RATE_PARENT | CLK_RECALC_NEW_RATES, 0, | 539 | CLK_SET_RATE_PARENT | CLK_RECALC_NEW_RATES, 0, |
540 | "mout_apll"), | 540 | "mout_apll"), |
@@ -555,11 +555,11 @@ static struct samsung_mux_clock exynos4_mux_clks[] __initdata = { | |||
555 | }; | 555 | }; |
556 | 556 | ||
557 | /* list of mux clocks supported in exynos4210 soc */ | 557 | /* list of mux clocks supported in exynos4210 soc */ |
558 | static struct samsung_mux_clock exynos4210_mux_early[] __initdata = { | 558 | static const struct samsung_mux_clock exynos4210_mux_early[] __initconst = { |
559 | MUX(0, "mout_vpllsrc", mout_vpllsrc_p, SRC_TOP1, 0, 1), | 559 | MUX(0, "mout_vpllsrc", mout_vpllsrc_p, SRC_TOP1, 0, 1), |
560 | }; | 560 | }; |
561 | 561 | ||
562 | static struct samsung_mux_clock exynos4210_mux_clks[] __initdata = { | 562 | static const struct samsung_mux_clock exynos4210_mux_clks[] __initconst = { |
563 | MUX(0, "mout_gdl", sclk_ampll_p4210, SRC_LEFTBUS, 0, 1), | 563 | MUX(0, "mout_gdl", sclk_ampll_p4210, SRC_LEFTBUS, 0, 1), |
564 | MUX(0, "mout_clkout_leftbus", clkout_left_p4210, | 564 | MUX(0, "mout_clkout_leftbus", clkout_left_p4210, |
565 | CLKOUT_CMU_LEFTBUS, 0, 5), | 565 | CLKOUT_CMU_LEFTBUS, 0, 5), |
@@ -622,7 +622,7 @@ static struct samsung_mux_clock exynos4210_mux_clks[] __initdata = { | |||
622 | }; | 622 | }; |
623 | 623 | ||
624 | /* list of mux clocks supported in exynos4x12 soc */ | 624 | /* list of mux clocks supported in exynos4x12 soc */ |
625 | static struct samsung_mux_clock exynos4x12_mux_clks[] __initdata = { | 625 | static const struct samsung_mux_clock exynos4x12_mux_clks[] __initconst = { |
626 | MUX(0, "mout_mpll_user_l", mout_mpll_p, SRC_LEFTBUS, 4, 1), | 626 | MUX(0, "mout_mpll_user_l", mout_mpll_p, SRC_LEFTBUS, 4, 1), |
627 | MUX(0, "mout_gdl", mout_gdl_p4x12, SRC_LEFTBUS, 0, 1), | 627 | MUX(0, "mout_gdl", mout_gdl_p4x12, SRC_LEFTBUS, 0, 1), |
628 | MUX(0, "mout_clkout_leftbus", clkout_left_p4x12, | 628 | MUX(0, "mout_clkout_leftbus", clkout_left_p4x12, |
@@ -705,7 +705,7 @@ static struct samsung_mux_clock exynos4x12_mux_clks[] __initdata = { | |||
705 | }; | 705 | }; |
706 | 706 | ||
707 | /* list of divider clocks supported in all exynos4 soc's */ | 707 | /* list of divider clocks supported in all exynos4 soc's */ |
708 | static struct samsung_div_clock exynos4_div_clks[] __initdata = { | 708 | static const struct samsung_div_clock exynos4_div_clks[] __initconst = { |
709 | DIV(CLK_DIV_GDL, "div_gdl", "mout_gdl", DIV_LEFTBUS, 0, 3), | 709 | DIV(CLK_DIV_GDL, "div_gdl", "mout_gdl", DIV_LEFTBUS, 0, 3), |
710 | DIV(0, "div_gpl", "div_gdl", DIV_LEFTBUS, 4, 3), | 710 | DIV(0, "div_gpl", "div_gdl", DIV_LEFTBUS, 4, 3), |
711 | DIV(0, "div_clkout_leftbus", "mout_clkout_leftbus", | 711 | DIV(0, "div_clkout_leftbus", "mout_clkout_leftbus", |
@@ -795,7 +795,7 @@ static struct samsung_div_clock exynos4_div_clks[] __initdata = { | |||
795 | }; | 795 | }; |
796 | 796 | ||
797 | /* list of divider clocks supported in exynos4210 soc */ | 797 | /* list of divider clocks supported in exynos4210 soc */ |
798 | static struct samsung_div_clock exynos4210_div_clks[] __initdata = { | 798 | static const struct samsung_div_clock exynos4210_div_clks[] __initconst = { |
799 | DIV(CLK_ACLK200, "aclk200", "mout_aclk200", DIV_TOP, 0, 3), | 799 | DIV(CLK_ACLK200, "aclk200", "mout_aclk200", DIV_TOP, 0, 3), |
800 | DIV(CLK_SCLK_FIMG2D, "sclk_fimg2d", "mout_g2d", DIV_IMAGE, 0, 4), | 800 | DIV(CLK_SCLK_FIMG2D, "sclk_fimg2d", "mout_g2d", DIV_IMAGE, 0, 4), |
801 | DIV(0, "div_fimd1", "mout_fimd1", E4210_DIV_LCD1, 0, 4), | 801 | DIV(0, "div_fimd1", "mout_fimd1", E4210_DIV_LCD1, 0, 4), |
@@ -806,7 +806,7 @@ static struct samsung_div_clock exynos4210_div_clks[] __initdata = { | |||
806 | }; | 806 | }; |
807 | 807 | ||
808 | /* list of divider clocks supported in exynos4x12 soc */ | 808 | /* list of divider clocks supported in exynos4x12 soc */ |
809 | static struct samsung_div_clock exynos4x12_div_clks[] __initdata = { | 809 | static const struct samsung_div_clock exynos4x12_div_clks[] __initconst = { |
810 | DIV(0, "div_mdnie0", "mout_mdnie0", DIV_LCD0, 4, 4), | 810 | DIV(0, "div_mdnie0", "mout_mdnie0", DIV_LCD0, 4, 4), |
811 | DIV(0, "div_mdnie_pwm0", "mout_mdnie_pwm0", DIV_LCD0, 8, 4), | 811 | DIV(0, "div_mdnie_pwm0", "mout_mdnie_pwm0", DIV_LCD0, 8, 4), |
812 | DIV(0, "div_mdnie_pwm_pre0", "div_mdnie_pwm0", DIV_LCD0, 12, 4), | 812 | DIV(0, "div_mdnie_pwm_pre0", "div_mdnie_pwm0", DIV_LCD0, 12, 4), |
@@ -837,7 +837,7 @@ static struct samsung_div_clock exynos4x12_div_clks[] __initdata = { | |||
837 | }; | 837 | }; |
838 | 838 | ||
839 | /* list of gate clocks supported in all exynos4 soc's */ | 839 | /* list of gate clocks supported in all exynos4 soc's */ |
840 | static struct samsung_gate_clock exynos4_gate_clks[] __initdata = { | 840 | static const struct samsung_gate_clock exynos4_gate_clks[] __initconst = { |
841 | /* | 841 | /* |
842 | * After all Exynos4 based platforms are migrated to use device tree, | 842 | * After all Exynos4 based platforms are migrated to use device tree, |
843 | * the device name and clock alias names specified below for some | 843 | * the device name and clock alias names specified below for some |
@@ -1043,7 +1043,7 @@ static struct samsung_gate_clock exynos4_gate_clks[] __initdata = { | |||
1043 | }; | 1043 | }; |
1044 | 1044 | ||
1045 | /* list of gate clocks supported in exynos4210 soc */ | 1045 | /* list of gate clocks supported in exynos4210 soc */ |
1046 | static struct samsung_gate_clock exynos4210_gate_clks[] __initdata = { | 1046 | static const struct samsung_gate_clock exynos4210_gate_clks[] __initconst = { |
1047 | GATE(CLK_TVENC, "tvenc", "aclk160", GATE_IP_TV, 2, 0, 0), | 1047 | GATE(CLK_TVENC, "tvenc", "aclk160", GATE_IP_TV, 2, 0, 0), |
1048 | GATE(CLK_G2D, "g2d", "aclk200", E4210_GATE_IP_IMAGE, 0, 0, 0), | 1048 | GATE(CLK_G2D, "g2d", "aclk200", E4210_GATE_IP_IMAGE, 0, 0, 0), |
1049 | GATE(CLK_ROTATOR, "rotator", "aclk200", E4210_GATE_IP_IMAGE, 1, 0, 0), | 1049 | GATE(CLK_ROTATOR, "rotator", "aclk200", E4210_GATE_IP_IMAGE, 1, 0, 0), |
@@ -1090,7 +1090,7 @@ static struct samsung_gate_clock exynos4210_gate_clks[] __initdata = { | |||
1090 | }; | 1090 | }; |
1091 | 1091 | ||
1092 | /* list of gate clocks supported in exynos4x12 soc */ | 1092 | /* list of gate clocks supported in exynos4x12 soc */ |
1093 | static struct samsung_gate_clock exynos4x12_gate_clks[] __initdata = { | 1093 | static const struct samsung_gate_clock exynos4x12_gate_clks[] __initconst = { |
1094 | GATE(CLK_AUDSS, "audss", "sclk_epll", E4X12_GATE_IP_MAUDIO, 0, 0, 0), | 1094 | GATE(CLK_AUDSS, "audss", "sclk_epll", E4X12_GATE_IP_MAUDIO, 0, 0, 0), |
1095 | GATE(CLK_MDNIE0, "mdnie0", "aclk160", GATE_IP_LCD0, 2, 0, 0), | 1095 | GATE(CLK_MDNIE0, "mdnie0", "aclk160", GATE_IP_LCD0, 2, 0, 0), |
1096 | GATE(CLK_ROTATOR, "rotator", "aclk200", E4X12_GATE_IP_IMAGE, 1, 0, 0), | 1096 | GATE(CLK_ROTATOR, "rotator", "aclk200", E4X12_GATE_IP_IMAGE, 1, 0, 0), |
@@ -1190,17 +1190,17 @@ static struct samsung_gate_clock exynos4x12_gate_clks[] __initdata = { | |||
1190 | 0), | 1190 | 0), |
1191 | }; | 1191 | }; |
1192 | 1192 | ||
1193 | static struct samsung_clock_alias exynos4_aliases[] __initdata = { | 1193 | static const struct samsung_clock_alias exynos4_aliases[] __initconst = { |
1194 | ALIAS(CLK_MOUT_CORE, NULL, "moutcore"), | 1194 | ALIAS(CLK_MOUT_CORE, NULL, "moutcore"), |
1195 | ALIAS(CLK_ARM_CLK, NULL, "armclk"), | 1195 | ALIAS(CLK_ARM_CLK, NULL, "armclk"), |
1196 | ALIAS(CLK_SCLK_APLL, NULL, "mout_apll"), | 1196 | ALIAS(CLK_SCLK_APLL, NULL, "mout_apll"), |
1197 | }; | 1197 | }; |
1198 | 1198 | ||
1199 | static struct samsung_clock_alias exynos4210_aliases[] __initdata = { | 1199 | static const struct samsung_clock_alias exynos4210_aliases[] __initconst = { |
1200 | ALIAS(CLK_SCLK_MPLL, NULL, "mout_mpll"), | 1200 | ALIAS(CLK_SCLK_MPLL, NULL, "mout_mpll"), |
1201 | }; | 1201 | }; |
1202 | 1202 | ||
1203 | static struct samsung_clock_alias exynos4x12_aliases[] __initdata = { | 1203 | static const struct samsung_clock_alias exynos4x12_aliases[] __initconst = { |
1204 | ALIAS(CLK_MOUT_MPLL_USER_C, NULL, "mout_mpll"), | 1204 | ALIAS(CLK_MOUT_MPLL_USER_C, NULL, "mout_mpll"), |
1205 | }; | 1205 | }; |
1206 | 1206 | ||
@@ -1264,7 +1264,7 @@ static const struct of_device_id ext_clk_match[] __initconst = { | |||
1264 | }; | 1264 | }; |
1265 | 1265 | ||
1266 | /* PLLs PMS values */ | 1266 | /* PLLs PMS values */ |
1267 | static struct samsung_pll_rate_table exynos4210_apll_rates[] __initdata = { | 1267 | static const struct samsung_pll_rate_table exynos4210_apll_rates[] __initconst = { |
1268 | PLL_45XX_RATE(1200000000, 150, 3, 1, 28), | 1268 | PLL_45XX_RATE(1200000000, 150, 3, 1, 28), |
1269 | PLL_45XX_RATE(1000000000, 250, 6, 1, 28), | 1269 | PLL_45XX_RATE(1000000000, 250, 6, 1, 28), |
1270 | PLL_45XX_RATE( 800000000, 200, 6, 1, 28), | 1270 | PLL_45XX_RATE( 800000000, 200, 6, 1, 28), |
@@ -1277,7 +1277,7 @@ static struct samsung_pll_rate_table exynos4210_apll_rates[] __initdata = { | |||
1277 | { /* sentinel */ } | 1277 | { /* sentinel */ } |
1278 | }; | 1278 | }; |
1279 | 1279 | ||
1280 | static struct samsung_pll_rate_table exynos4210_epll_rates[] __initdata = { | 1280 | static const struct samsung_pll_rate_table exynos4210_epll_rates[] __initconst = { |
1281 | PLL_4600_RATE(192000000, 48, 3, 1, 0, 0), | 1281 | PLL_4600_RATE(192000000, 48, 3, 1, 0, 0), |
1282 | PLL_4600_RATE(180633605, 45, 3, 1, 10381, 0), | 1282 | PLL_4600_RATE(180633605, 45, 3, 1, 10381, 0), |
1283 | PLL_4600_RATE(180000000, 45, 3, 1, 0, 0), | 1283 | PLL_4600_RATE(180000000, 45, 3, 1, 0, 0), |
@@ -1288,7 +1288,7 @@ static struct samsung_pll_rate_table exynos4210_epll_rates[] __initdata = { | |||
1288 | { /* sentinel */ } | 1288 | { /* sentinel */ } |
1289 | }; | 1289 | }; |
1290 | 1290 | ||
1291 | static struct samsung_pll_rate_table exynos4210_vpll_rates[] __initdata = { | 1291 | static const struct samsung_pll_rate_table exynos4210_vpll_rates[] __initconst = { |
1292 | PLL_4650_RATE(360000000, 44, 3, 0, 1024, 0, 14, 0), | 1292 | PLL_4650_RATE(360000000, 44, 3, 0, 1024, 0, 14, 0), |
1293 | PLL_4650_RATE(324000000, 53, 2, 1, 1024, 1, 1, 1), | 1293 | PLL_4650_RATE(324000000, 53, 2, 1, 1024, 1, 1, 1), |
1294 | PLL_4650_RATE(259617187, 63, 3, 1, 1950, 0, 20, 1), | 1294 | PLL_4650_RATE(259617187, 63, 3, 1, 1950, 0, 20, 1), |
@@ -1297,7 +1297,7 @@ static struct samsung_pll_rate_table exynos4210_vpll_rates[] __initdata = { | |||
1297 | { /* sentinel */ } | 1297 | { /* sentinel */ } |
1298 | }; | 1298 | }; |
1299 | 1299 | ||
1300 | static struct samsung_pll_rate_table exynos4x12_apll_rates[] __initdata = { | 1300 | static const struct samsung_pll_rate_table exynos4x12_apll_rates[] __initconst = { |
1301 | PLL_35XX_RATE(1500000000, 250, 4, 0), | 1301 | PLL_35XX_RATE(1500000000, 250, 4, 0), |
1302 | PLL_35XX_RATE(1400000000, 175, 3, 0), | 1302 | PLL_35XX_RATE(1400000000, 175, 3, 0), |
1303 | PLL_35XX_RATE(1300000000, 325, 6, 0), | 1303 | PLL_35XX_RATE(1300000000, 325, 6, 0), |
@@ -1315,7 +1315,7 @@ static struct samsung_pll_rate_table exynos4x12_apll_rates[] __initdata = { | |||
1315 | { /* sentinel */ } | 1315 | { /* sentinel */ } |
1316 | }; | 1316 | }; |
1317 | 1317 | ||
1318 | static struct samsung_pll_rate_table exynos4x12_epll_rates[] __initdata = { | 1318 | static const struct samsung_pll_rate_table exynos4x12_epll_rates[] __initconst = { |
1319 | PLL_36XX_RATE(192000000, 48, 3, 1, 0), | 1319 | PLL_36XX_RATE(192000000, 48, 3, 1, 0), |
1320 | PLL_36XX_RATE(180633605, 45, 3, 1, 10381), | 1320 | PLL_36XX_RATE(180633605, 45, 3, 1, 10381), |
1321 | PLL_36XX_RATE(180000000, 45, 3, 1, 0), | 1321 | PLL_36XX_RATE(180000000, 45, 3, 1, 0), |
@@ -1326,7 +1326,7 @@ static struct samsung_pll_rate_table exynos4x12_epll_rates[] __initdata = { | |||
1326 | { /* sentinel */ } | 1326 | { /* sentinel */ } |
1327 | }; | 1327 | }; |
1328 | 1328 | ||
1329 | static struct samsung_pll_rate_table exynos4x12_vpll_rates[] __initdata = { | 1329 | static const struct samsung_pll_rate_table exynos4x12_vpll_rates[] __initconst = { |
1330 | PLL_36XX_RATE(533000000, 133, 3, 1, 16384), | 1330 | PLL_36XX_RATE(533000000, 133, 3, 1, 16384), |
1331 | PLL_36XX_RATE(440000000, 110, 3, 1, 0), | 1331 | PLL_36XX_RATE(440000000, 110, 3, 1, 0), |
1332 | PLL_36XX_RATE(350000000, 175, 3, 2, 0), | 1332 | PLL_36XX_RATE(350000000, 175, 3, 2, 0), |