aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/clk/hisilicon/clk-hi3620.c70
-rw-r--r--drivers/clk/hisilicon/clk-hix5hd2.c6
-rw-r--r--drivers/clk/mxs/clk-imx23.c12
-rw-r--r--drivers/clk/mxs/clk-imx28.c18
-rw-r--r--drivers/clk/pxa/clk-pxa.h2
-rw-r--r--drivers/clk/rockchip/clk-rk3188.c2
-rw-r--r--drivers/clk/rockchip/clk-rk3288.c2
-rw-r--r--drivers/clk/rockchip/clk.c3
-rw-r--r--drivers/clk/rockchip/clk.h4
-rw-r--r--drivers/clk/samsung/clk-s5pv210.c56
-rw-r--r--drivers/clk/ti/composite.c2
-rw-r--r--drivers/clk/zynq/clkc.c24
12 files changed, 101 insertions, 100 deletions
diff --git a/drivers/clk/hisilicon/clk-hi3620.c b/drivers/clk/hisilicon/clk-hi3620.c
index 2e4f6d432beb..472dd2cb10b3 100644
--- a/drivers/clk/hisilicon/clk-hi3620.c
+++ b/drivers/clk/hisilicon/clk-hi3620.c
@@ -38,44 +38,44 @@
38#include "clk.h" 38#include "clk.h"
39 39
40/* clock parent list */ 40/* clock parent list */
41static const char *timer0_mux_p[] __initconst = { "osc32k", "timerclk01", }; 41static const char *timer0_mux_p[] __initdata = { "osc32k", "timerclk01", };
42static const char *timer1_mux_p[] __initconst = { "osc32k", "timerclk01", }; 42static const char *timer1_mux_p[] __initdata = { "osc32k", "timerclk01", };
43static const char *timer2_mux_p[] __initconst = { "osc32k", "timerclk23", }; 43static const char *timer2_mux_p[] __initdata = { "osc32k", "timerclk23", };
44static const char *timer3_mux_p[] __initconst = { "osc32k", "timerclk23", }; 44static const char *timer3_mux_p[] __initdata = { "osc32k", "timerclk23", };
45static const char *timer4_mux_p[] __initconst = { "osc32k", "timerclk45", }; 45static const char *timer4_mux_p[] __initdata = { "osc32k", "timerclk45", };
46static const char *timer5_mux_p[] __initconst = { "osc32k", "timerclk45", }; 46static const char *timer5_mux_p[] __initdata = { "osc32k", "timerclk45", };
47static const char *timer6_mux_p[] __initconst = { "osc32k", "timerclk67", }; 47static const char *timer6_mux_p[] __initdata = { "osc32k", "timerclk67", };
48static const char *timer7_mux_p[] __initconst = { "osc32k", "timerclk67", }; 48static const char *timer7_mux_p[] __initdata = { "osc32k", "timerclk67", };
49static const char *timer8_mux_p[] __initconst = { "osc32k", "timerclk89", }; 49static const char *timer8_mux_p[] __initdata = { "osc32k", "timerclk89", };
50static const char *timer9_mux_p[] __initconst = { "osc32k", "timerclk89", }; 50static const char *timer9_mux_p[] __initdata = { "osc32k", "timerclk89", };
51static const char *uart0_mux_p[] __initconst = { "osc26m", "pclk", }; 51static const char *uart0_mux_p[] __initdata = { "osc26m", "pclk", };
52static const char *uart1_mux_p[] __initconst = { "osc26m", "pclk", }; 52static const char *uart1_mux_p[] __initdata = { "osc26m", "pclk", };
53static const char *uart2_mux_p[] __initconst = { "osc26m", "pclk", }; 53static const char *uart2_mux_p[] __initdata = { "osc26m", "pclk", };
54static const char *uart3_mux_p[] __initconst = { "osc26m", "pclk", }; 54static const char *uart3_mux_p[] __initdata = { "osc26m", "pclk", };
55static const char *uart4_mux_p[] __initconst = { "osc26m", "pclk", }; 55static const char *uart4_mux_p[] __initdata = { "osc26m", "pclk", };
56static const char *spi0_mux_p[] __initconst = { "osc26m", "rclk_cfgaxi", }; 56static const char *spi0_mux_p[] __initdata = { "osc26m", "rclk_cfgaxi", };
57static const char *spi1_mux_p[] __initconst = { "osc26m", "rclk_cfgaxi", }; 57static const char *spi1_mux_p[] __initdata = { "osc26m", "rclk_cfgaxi", };
58static const char *spi2_mux_p[] __initconst = { "osc26m", "rclk_cfgaxi", }; 58static const char *spi2_mux_p[] __initdata = { "osc26m", "rclk_cfgaxi", };
59/* share axi parent */ 59/* share axi parent */
60static const char *saxi_mux_p[] __initconst = { "armpll3", "armpll2", }; 60static const char *saxi_mux_p[] __initdata = { "armpll3", "armpll2", };
61static const char *pwm0_mux_p[] __initconst = { "osc32k", "osc26m", }; 61static const char *pwm0_mux_p[] __initdata = { "osc32k", "osc26m", };
62static const char *pwm1_mux_p[] __initconst = { "osc32k", "osc26m", }; 62static const char *pwm1_mux_p[] __initdata = { "osc32k", "osc26m", };
63static const char *sd_mux_p[] __initconst = { "armpll2", "armpll3", }; 63static const char *sd_mux_p[] __initdata = { "armpll2", "armpll3", };
64static const char *mmc1_mux_p[] __initconst = { "armpll2", "armpll3", }; 64static const char *mmc1_mux_p[] __initdata = { "armpll2", "armpll3", };
65static const char *mmc1_mux2_p[] __initconst = { "osc26m", "mmc1_div", }; 65static const char *mmc1_mux2_p[] __initdata = { "osc26m", "mmc1_div", };
66static const char *g2d_mux_p[] __initconst = { "armpll2", "armpll3", }; 66static const char *g2d_mux_p[] __initdata = { "armpll2", "armpll3", };
67static const char *venc_mux_p[] __initconst = { "armpll2", "armpll3", }; 67static const char *venc_mux_p[] __initdata = { "armpll2", "armpll3", };
68static const char *vdec_mux_p[] __initconst = { "armpll2", "armpll3", }; 68static const char *vdec_mux_p[] __initdata = { "armpll2", "armpll3", };
69static const char *vpp_mux_p[] __initconst = { "armpll2", "armpll3", }; 69static const char *vpp_mux_p[] __initdata = { "armpll2", "armpll3", };
70static const char *edc0_mux_p[] __initconst = { "armpll2", "armpll3", }; 70static const char *edc0_mux_p[] __initdata = { "armpll2", "armpll3", };
71static const char *ldi0_mux_p[] __initconst = { "armpll2", "armpll4", 71static const char *ldi0_mux_p[] __initdata = { "armpll2", "armpll4",
72 "armpll3", "armpll5", }; 72 "armpll3", "armpll5", };
73static const char *edc1_mux_p[] __initconst = { "armpll2", "armpll3", }; 73static const char *edc1_mux_p[] __initdata = { "armpll2", "armpll3", };
74static const char *ldi1_mux_p[] __initconst = { "armpll2", "armpll4", 74static const char *ldi1_mux_p[] __initdata = { "armpll2", "armpll4",
75 "armpll3", "armpll5", }; 75 "armpll3", "armpll5", };
76static const char *rclk_hsic_p[] __initconst = { "armpll3", "armpll2", }; 76static const char *rclk_hsic_p[] __initdata = { "armpll3", "armpll2", };
77static const char *mmc2_mux_p[] __initconst = { "armpll2", "armpll3", }; 77static const char *mmc2_mux_p[] __initdata = { "armpll2", "armpll3", };
78static const char *mmc3_mux_p[] __initconst = { "armpll2", "armpll3", }; 78static const char *mmc3_mux_p[] __initdata = { "armpll2", "armpll3", };
79 79
80 80
81/* fixed rate clocks */ 81/* fixed rate clocks */
diff --git a/drivers/clk/hisilicon/clk-hix5hd2.c b/drivers/clk/hisilicon/clk-hix5hd2.c
index 3f369c60fe56..f1d239435826 100644
--- a/drivers/clk/hisilicon/clk-hix5hd2.c
+++ b/drivers/clk/hisilicon/clk-hix5hd2.c
@@ -46,15 +46,15 @@ static struct hisi_fixed_rate_clock hix5hd2_fixed_rate_clks[] __initdata = {
46 { HIX5HD2_FIXED_83M, "83m", NULL, CLK_IS_ROOT, 83333333, }, 46 { HIX5HD2_FIXED_83M, "83m", NULL, CLK_IS_ROOT, 83333333, },
47}; 47};
48 48
49static const char *sfc_mux_p[] __initconst = { 49static const char *sfc_mux_p[] __initdata = {
50 "24m", "150m", "200m", "100m", "75m", }; 50 "24m", "150m", "200m", "100m", "75m", };
51static u32 sfc_mux_table[] = {0, 4, 5, 6, 7}; 51static u32 sfc_mux_table[] = {0, 4, 5, 6, 7};
52 52
53static const char *sdio_mux_p[] __initconst = { 53static const char *sdio_mux_p[] __initdata = {
54 "75m", "100m", "50m", "15m", }; 54 "75m", "100m", "50m", "15m", };
55static u32 sdio_mux_table[] = {0, 1, 2, 3}; 55static u32 sdio_mux_table[] = {0, 1, 2, 3};
56 56
57static const char *fephy_mux_p[] __initconst = { "25m", "125m"}; 57static const char *fephy_mux_p[] __initdata = { "25m", "125m"};
58static u32 fephy_mux_table[] = {0, 1}; 58static u32 fephy_mux_table[] = {0, 1};
59 59
60 60
diff --git a/drivers/clk/mxs/clk-imx23.c b/drivers/clk/mxs/clk-imx23.c
index 9fc9359f5133..22d136aa699f 100644
--- a/drivers/clk/mxs/clk-imx23.c
+++ b/drivers/clk/mxs/clk-imx23.c
@@ -77,12 +77,12 @@ static void __init clk_misc_init(void)
77 writel_relaxed(30 << BP_FRAC_IOFRAC, FRAC + SET); 77 writel_relaxed(30 << BP_FRAC_IOFRAC, FRAC + SET);
78} 78}
79 79
80static const char *sel_pll[] __initconst = { "pll", "ref_xtal", }; 80static const char *sel_pll[] __initdata = { "pll", "ref_xtal", };
81static const char *sel_cpu[] __initconst = { "ref_cpu", "ref_xtal", }; 81static const char *sel_cpu[] __initdata = { "ref_cpu", "ref_xtal", };
82static const char *sel_pix[] __initconst = { "ref_pix", "ref_xtal", }; 82static const char *sel_pix[] __initdata = { "ref_pix", "ref_xtal", };
83static const char *sel_io[] __initconst = { "ref_io", "ref_xtal", }; 83static const char *sel_io[] __initdata = { "ref_io", "ref_xtal", };
84static const char *cpu_sels[] __initconst = { "cpu_pll", "cpu_xtal", }; 84static const char *cpu_sels[] __initdata = { "cpu_pll", "cpu_xtal", };
85static const char *emi_sels[] __initconst = { "emi_pll", "emi_xtal", }; 85static const char *emi_sels[] __initdata = { "emi_pll", "emi_xtal", };
86 86
87enum imx23_clk { 87enum imx23_clk {
88 ref_xtal, pll, ref_cpu, ref_emi, ref_pix, ref_io, saif_sel, 88 ref_xtal, pll, ref_cpu, ref_emi, ref_pix, ref_io, saif_sel,
diff --git a/drivers/clk/mxs/clk-imx28.c b/drivers/clk/mxs/clk-imx28.c
index a6c35010e4e5..b1be3746ce95 100644
--- a/drivers/clk/mxs/clk-imx28.c
+++ b/drivers/clk/mxs/clk-imx28.c
@@ -125,15 +125,15 @@ static void __init clk_misc_init(void)
125 writel_relaxed(val, FRAC0); 125 writel_relaxed(val, FRAC0);
126} 126}
127 127
128static const char *sel_cpu[] __initconst = { "ref_cpu", "ref_xtal", }; 128static const char *sel_cpu[] __initdata = { "ref_cpu", "ref_xtal", };
129static const char *sel_io0[] __initconst = { "ref_io0", "ref_xtal", }; 129static const char *sel_io0[] __initdata = { "ref_io0", "ref_xtal", };
130static const char *sel_io1[] __initconst = { "ref_io1", "ref_xtal", }; 130static const char *sel_io1[] __initdata = { "ref_io1", "ref_xtal", };
131static const char *sel_pix[] __initconst = { "ref_pix", "ref_xtal", }; 131static const char *sel_pix[] __initdata = { "ref_pix", "ref_xtal", };
132static const char *sel_gpmi[] __initconst = { "ref_gpmi", "ref_xtal", }; 132static const char *sel_gpmi[] __initdata = { "ref_gpmi", "ref_xtal", };
133static const char *sel_pll0[] __initconst = { "pll0", "ref_xtal", }; 133static const char *sel_pll0[] __initdata = { "pll0", "ref_xtal", };
134static const char *cpu_sels[] __initconst = { "cpu_pll", "cpu_xtal", }; 134static const char *cpu_sels[] __initdata = { "cpu_pll", "cpu_xtal", };
135static const char *emi_sels[] __initconst = { "emi_pll", "emi_xtal", }; 135static const char *emi_sels[] __initdata = { "emi_pll", "emi_xtal", };
136static const char *ptp_sels[] __initconst = { "ref_xtal", "pll0", }; 136static const char *ptp_sels[] __initdata = { "ref_xtal", "pll0", };
137 137
138enum imx28_clk { 138enum imx28_clk {
139 ref_xtal, pll0, pll1, pll2, ref_cpu, ref_emi, ref_io0, ref_io1, 139 ref_xtal, pll0, pll1, pll2, ref_cpu, ref_emi, ref_io0, ref_io1,
diff --git a/drivers/clk/pxa/clk-pxa.h b/drivers/clk/pxa/clk-pxa.h
index 323965430111..b04c5b9c0ea8 100644
--- a/drivers/clk/pxa/clk-pxa.h
+++ b/drivers/clk/pxa/clk-pxa.h
@@ -14,7 +14,7 @@
14#define _CLK_PXA_ 14#define _CLK_PXA_
15 15
16#define PARENTS(name) \ 16#define PARENTS(name) \
17 static const char *name ## _parents[] __initconst 17 static const char *name ## _parents[] __initdata
18#define MUX_RO_RATE_RO_OPS(name, clk_name) \ 18#define MUX_RO_RATE_RO_OPS(name, clk_name) \
19 static struct clk_hw name ## _mux_hw; \ 19 static struct clk_hw name ## _mux_hw; \
20 static struct clk_hw name ## _rate_hw; \ 20 static struct clk_hw name ## _rate_hw; \
diff --git a/drivers/clk/rockchip/clk-rk3188.c b/drivers/clk/rockchip/clk-rk3188.c
index 7eb684c50d42..556ce041d371 100644
--- a/drivers/clk/rockchip/clk-rk3188.c
+++ b/drivers/clk/rockchip/clk-rk3188.c
@@ -704,7 +704,7 @@ static struct rockchip_clk_branch rk3188_clk_branches[] __initdata = {
704 GATE(ACLK_GPS, "aclk_gps", "aclk_peri", 0, RK2928_CLKGATE_CON(8), 13, GFLAGS), 704 GATE(ACLK_GPS, "aclk_gps", "aclk_peri", 0, RK2928_CLKGATE_CON(8), 13, GFLAGS),
705}; 705};
706 706
707static const char *rk3188_critical_clocks[] __initconst = { 707static const char *const rk3188_critical_clocks[] __initconst = {
708 "aclk_cpu", 708 "aclk_cpu",
709 "aclk_peri", 709 "aclk_peri",
710 "hclk_peri", 710 "hclk_peri",
diff --git a/drivers/clk/rockchip/clk-rk3288.c b/drivers/clk/rockchip/clk-rk3288.c
index 05d7a0bc0599..d17eb4528a28 100644
--- a/drivers/clk/rockchip/clk-rk3288.c
+++ b/drivers/clk/rockchip/clk-rk3288.c
@@ -771,7 +771,7 @@ static struct rockchip_clk_branch rk3288_clk_branches[] __initdata = {
771 GATE(0, "pclk_isp_in", "ext_isp", 0, RK3288_CLKGATE_CON(16), 3, GFLAGS), 771 GATE(0, "pclk_isp_in", "ext_isp", 0, RK3288_CLKGATE_CON(16), 3, GFLAGS),
772}; 772};
773 773
774static const char *rk3288_critical_clocks[] __initconst = { 774static const char *const rk3288_critical_clocks[] __initconst = {
775 "aclk_cpu", 775 "aclk_cpu",
776 "aclk_peri", 776 "aclk_peri",
777 "hclk_peri", 777 "hclk_peri",
diff --git a/drivers/clk/rockchip/clk.c b/drivers/clk/rockchip/clk.c
index 20e05bbb3a67..edb5d489ae61 100644
--- a/drivers/clk/rockchip/clk.c
+++ b/drivers/clk/rockchip/clk.c
@@ -317,7 +317,8 @@ void __init rockchip_clk_register_armclk(unsigned int lookup_id,
317 rockchip_clk_add_lookup(clk, lookup_id); 317 rockchip_clk_add_lookup(clk, lookup_id);
318} 318}
319 319
320void __init rockchip_clk_protect_critical(const char *clocks[], int nclocks) 320void __init rockchip_clk_protect_critical(const char *const clocks[],
321 int nclocks)
321{ 322{
322 int i; 323 int i;
323 324
diff --git a/drivers/clk/rockchip/clk.h b/drivers/clk/rockchip/clk.h
index 58d2e3bdf22f..e63cafe893e1 100644
--- a/drivers/clk/rockchip/clk.h
+++ b/drivers/clk/rockchip/clk.h
@@ -182,7 +182,7 @@ struct clk *rockchip_clk_register_mmc(const char *name,
182 const char **parent_names, u8 num_parents, 182 const char **parent_names, u8 num_parents,
183 void __iomem *reg, int shift); 183 void __iomem *reg, int shift);
184 184
185#define PNAME(x) static const char *x[] __initconst 185#define PNAME(x) static const char *x[] __initdata
186 186
187enum rockchip_clk_branch_type { 187enum rockchip_clk_branch_type {
188 branch_composite, 188 branch_composite,
@@ -407,7 +407,7 @@ void rockchip_clk_register_armclk(unsigned int lookup_id, const char *name,
407 const struct rockchip_cpuclk_reg_data *reg_data, 407 const struct rockchip_cpuclk_reg_data *reg_data,
408 const struct rockchip_cpuclk_rate_table *rates, 408 const struct rockchip_cpuclk_rate_table *rates,
409 int nrates); 409 int nrates);
410void rockchip_clk_protect_critical(const char *clocks[], int nclocks); 410void rockchip_clk_protect_critical(const char *const clocks[], int nclocks);
411void rockchip_register_restart_notifier(unsigned int reg); 411void rockchip_register_restart_notifier(unsigned int reg);
412 412
413#define ROCKCHIP_SOFTRST_HIWORD_MASK BIT(0) 413#define ROCKCHIP_SOFTRST_HIWORD_MASK BIT(0)
diff --git a/drivers/clk/samsung/clk-s5pv210.c b/drivers/clk/samsung/clk-s5pv210.c
index d270a2084644..e668e479a697 100644
--- a/drivers/clk/samsung/clk-s5pv210.c
+++ b/drivers/clk/samsung/clk-s5pv210.c
@@ -169,44 +169,44 @@ static inline void s5pv210_clk_sleep_init(void) { }
169#endif 169#endif
170 170
171/* Mux parent lists. */ 171/* Mux parent lists. */
172static const char *fin_pll_p[] __initconst = { 172static const char *fin_pll_p[] __initdata = {
173 "xxti", 173 "xxti",
174 "xusbxti" 174 "xusbxti"
175}; 175};
176 176
177static const char *mout_apll_p[] __initconst = { 177static const char *mout_apll_p[] __initdata = {
178 "fin_pll", 178 "fin_pll",
179 "fout_apll" 179 "fout_apll"
180}; 180};
181 181
182static const char *mout_mpll_p[] __initconst = { 182static const char *mout_mpll_p[] __initdata = {
183 "fin_pll", 183 "fin_pll",
184 "fout_mpll" 184 "fout_mpll"
185}; 185};
186 186
187static const char *mout_epll_p[] __initconst = { 187static const char *mout_epll_p[] __initdata = {
188 "fin_pll", 188 "fin_pll",
189 "fout_epll" 189 "fout_epll"
190}; 190};
191 191
192static const char *mout_vpllsrc_p[] __initconst = { 192static const char *mout_vpllsrc_p[] __initdata = {
193 "fin_pll", 193 "fin_pll",
194 "sclk_hdmi27m" 194 "sclk_hdmi27m"
195}; 195};
196 196
197static const char *mout_vpll_p[] __initconst = { 197static const char *mout_vpll_p[] __initdata = {
198 "mout_vpllsrc", 198 "mout_vpllsrc",
199 "fout_vpll" 199 "fout_vpll"
200}; 200};
201 201
202static const char *mout_group1_p[] __initconst = { 202static const char *mout_group1_p[] __initdata = {
203 "dout_a2m", 203 "dout_a2m",
204 "mout_mpll", 204 "mout_mpll",
205 "mout_epll", 205 "mout_epll",
206 "mout_vpll" 206 "mout_vpll"
207}; 207};
208 208
209static const char *mout_group2_p[] __initconst = { 209static const char *mout_group2_p[] __initdata = {
210 "xxti", 210 "xxti",
211 "xusbxti", 211 "xusbxti",
212 "sclk_hdmi27m", 212 "sclk_hdmi27m",
@@ -218,7 +218,7 @@ static const char *mout_group2_p[] __initconst = {
218 "mout_vpll", 218 "mout_vpll",
219}; 219};
220 220
221static const char *mout_audio0_p[] __initconst = { 221static const char *mout_audio0_p[] __initdata = {
222 "xxti", 222 "xxti",
223 "pcmcdclk0", 223 "pcmcdclk0",
224 "sclk_hdmi27m", 224 "sclk_hdmi27m",
@@ -230,7 +230,7 @@ static const char *mout_audio0_p[] __initconst = {
230 "mout_vpll", 230 "mout_vpll",
231}; 231};
232 232
233static const char *mout_audio1_p[] __initconst = { 233static const char *mout_audio1_p[] __initdata = {
234 "i2scdclk1", 234 "i2scdclk1",
235 "pcmcdclk1", 235 "pcmcdclk1",
236 "sclk_hdmi27m", 236 "sclk_hdmi27m",
@@ -242,7 +242,7 @@ static const char *mout_audio1_p[] __initconst = {
242 "mout_vpll", 242 "mout_vpll",
243}; 243};
244 244
245static const char *mout_audio2_p[] __initconst = { 245static const char *mout_audio2_p[] __initdata = {
246 "i2scdclk2", 246 "i2scdclk2",
247 "pcmcdclk2", 247 "pcmcdclk2",
248 "sclk_hdmi27m", 248 "sclk_hdmi27m",
@@ -254,63 +254,63 @@ static const char *mout_audio2_p[] __initconst = {
254 "mout_vpll", 254 "mout_vpll",
255}; 255};
256 256
257static const char *mout_spdif_p[] __initconst = { 257static const char *mout_spdif_p[] __initdata = {
258 "dout_audio0", 258 "dout_audio0",
259 "dout_audio1", 259 "dout_audio1",
260 "dout_audio3", 260 "dout_audio3",
261}; 261};
262 262
263static const char *mout_group3_p[] __initconst = { 263static const char *mout_group3_p[] __initdata = {
264 "mout_apll", 264 "mout_apll",
265 "mout_mpll" 265 "mout_mpll"
266}; 266};
267 267
268static const char *mout_group4_p[] __initconst = { 268static const char *mout_group4_p[] __initdata = {
269 "mout_mpll", 269 "mout_mpll",
270 "dout_a2m" 270 "dout_a2m"
271}; 271};
272 272
273static const char *mout_flash_p[] __initconst = { 273static const char *mout_flash_p[] __initdata = {
274 "dout_hclkd", 274 "dout_hclkd",
275 "dout_hclkp" 275 "dout_hclkp"
276}; 276};
277 277
278static const char *mout_dac_p[] __initconst = { 278static const char *mout_dac_p[] __initdata = {
279 "mout_vpll", 279 "mout_vpll",
280 "sclk_hdmiphy" 280 "sclk_hdmiphy"
281}; 281};
282 282
283static const char *mout_hdmi_p[] __initconst = { 283static const char *mout_hdmi_p[] __initdata = {
284 "sclk_hdmiphy", 284 "sclk_hdmiphy",
285 "dout_tblk" 285 "dout_tblk"
286}; 286};
287 287
288static const char *mout_mixer_p[] __initconst = { 288static const char *mout_mixer_p[] __initdata = {
289 "mout_dac", 289 "mout_dac",
290 "mout_hdmi" 290 "mout_hdmi"
291}; 291};
292 292
293static const char *mout_vpll_6442_p[] __initconst = { 293static const char *mout_vpll_6442_p[] __initdata = {
294 "fin_pll", 294 "fin_pll",
295 "fout_vpll" 295 "fout_vpll"
296}; 296};
297 297
298static const char *mout_mixer_6442_p[] __initconst = { 298static const char *mout_mixer_6442_p[] __initdata = {
299 "mout_vpll", 299 "mout_vpll",
300 "dout_mixer" 300 "dout_mixer"
301}; 301};
302 302
303static const char *mout_d0sync_6442_p[] __initconst = { 303static const char *mout_d0sync_6442_p[] __initdata = {
304 "mout_dsys", 304 "mout_dsys",
305 "div_apll" 305 "div_apll"
306}; 306};
307 307
308static const char *mout_d1sync_6442_p[] __initconst = { 308static const char *mout_d1sync_6442_p[] __initdata = {
309 "mout_psys", 309 "mout_psys",
310 "div_apll" 310 "div_apll"
311}; 311};
312 312
313static const char *mout_group2_6442_p[] __initconst = { 313static const char *mout_group2_6442_p[] __initdata = {
314 "fin_pll", 314 "fin_pll",
315 "none", 315 "none",
316 "none", 316 "none",
@@ -322,7 +322,7 @@ static const char *mout_group2_6442_p[] __initconst = {
322 "mout_vpll", 322 "mout_vpll",
323}; 323};
324 324
325static const char *mout_audio0_6442_p[] __initconst = { 325static const char *mout_audio0_6442_p[] __initdata = {
326 "fin_pll", 326 "fin_pll",
327 "pcmcdclk0", 327 "pcmcdclk0",
328 "none", 328 "none",
@@ -334,7 +334,7 @@ static const char *mout_audio0_6442_p[] __initconst = {
334 "mout_vpll", 334 "mout_vpll",
335}; 335};
336 336
337static const char *mout_audio1_6442_p[] __initconst = { 337static const char *mout_audio1_6442_p[] __initdata = {
338 "i2scdclk1", 338 "i2scdclk1",
339 "pcmcdclk1", 339 "pcmcdclk1",
340 "none", 340 "none",
@@ -347,7 +347,7 @@ static const char *mout_audio1_6442_p[] __initconst = {
347 "fin_pll", 347 "fin_pll",
348}; 348};
349 349
350static const char *mout_clksel_p[] __initconst = { 350static const char *mout_clksel_p[] __initdata = {
351 "fout_apll_clkout", 351 "fout_apll_clkout",
352 "fout_mpll_clkout", 352 "fout_mpll_clkout",
353 "fout_epll", 353 "fout_epll",
@@ -370,7 +370,7 @@ static const char *mout_clksel_p[] __initconst = {
370 "div_dclk" 370 "div_dclk"
371}; 371};
372 372
373static const char *mout_clksel_6442_p[] __initconst = { 373static const char *mout_clksel_6442_p[] __initdata = {
374 "fout_apll_clkout", 374 "fout_apll_clkout",
375 "fout_mpll_clkout", 375 "fout_mpll_clkout",
376 "fout_epll", 376 "fout_epll",
@@ -393,7 +393,7 @@ static const char *mout_clksel_6442_p[] __initconst = {
393 "div_dclk" 393 "div_dclk"
394}; 394};
395 395
396static const char *mout_clkout_p[] __initconst = { 396static const char *mout_clkout_p[] __initdata = {
397 "dout_clkout", 397 "dout_clkout",
398 "none", 398 "none",
399 "xxti", 399 "xxti",
diff --git a/drivers/clk/ti/composite.c b/drivers/clk/ti/composite.c
index 3654f61912eb..96f83cedb4b3 100644
--- a/drivers/clk/ti/composite.c
+++ b/drivers/clk/ti/composite.c
@@ -69,7 +69,7 @@ struct component_clk {
69 struct list_head link; 69 struct list_head link;
70}; 70};
71 71
72static const char * __initconst component_clk_types[] = { 72static const char * const component_clk_types[] __initconst = {
73 "gate", "divider", "mux" 73 "gate", "divider", "mux"
74}; 74};
75 75
diff --git a/drivers/clk/zynq/clkc.c b/drivers/clk/zynq/clkc.c
index f870aad57711..40cb113be6af 100644
--- a/drivers/clk/zynq/clkc.c
+++ b/drivers/clk/zynq/clkc.c
@@ -85,22 +85,22 @@ static DEFINE_SPINLOCK(canmioclk_lock);
85static DEFINE_SPINLOCK(dbgclk_lock); 85static DEFINE_SPINLOCK(dbgclk_lock);
86static DEFINE_SPINLOCK(aperclk_lock); 86static DEFINE_SPINLOCK(aperclk_lock);
87 87
88static const char *armpll_parents[] __initconst = {"armpll_int", "ps_clk"}; 88static const char *armpll_parents[] __initdata = {"armpll_int", "ps_clk"};
89static const char *ddrpll_parents[] __initconst = {"ddrpll_int", "ps_clk"}; 89static const char *ddrpll_parents[] __initdata = {"ddrpll_int", "ps_clk"};
90static const char *iopll_parents[] __initconst = {"iopll_int", "ps_clk"}; 90static const char *iopll_parents[] __initdata = {"iopll_int", "ps_clk"};
91static const char *gem0_mux_parents[] __initconst = {"gem0_div1", "dummy_name"}; 91static const char *gem0_mux_parents[] __initdata = {"gem0_div1", "dummy_name"};
92static const char *gem1_mux_parents[] __initconst = {"gem1_div1", "dummy_name"}; 92static const char *gem1_mux_parents[] __initdata = {"gem1_div1", "dummy_name"};
93static const char *can0_mio_mux2_parents[] __initconst = {"can0_gate", 93static const char *can0_mio_mux2_parents[] __initdata = {"can0_gate",
94 "can0_mio_mux"}; 94 "can0_mio_mux"};
95static const char *can1_mio_mux2_parents[] __initconst = {"can1_gate", 95static const char *can1_mio_mux2_parents[] __initdata = {"can1_gate",
96 "can1_mio_mux"}; 96 "can1_mio_mux"};
97static const char *dbg_emio_mux_parents[] __initconst = {"dbg_div", 97static const char *dbg_emio_mux_parents[] __initdata = {"dbg_div",
98 "dummy_name"}; 98 "dummy_name"};
99 99
100static const char *dbgtrc_emio_input_names[] __initconst = {"trace_emio_clk"}; 100static const char *dbgtrc_emio_input_names[] __initdata = {"trace_emio_clk"};
101static const char *gem0_emio_input_names[] __initconst = {"gem0_emio_clk"}; 101static const char *gem0_emio_input_names[] __initdata = {"gem0_emio_clk"};
102static const char *gem1_emio_input_names[] __initconst = {"gem1_emio_clk"}; 102static const char *gem1_emio_input_names[] __initdata = {"gem1_emio_clk"};
103static const char *swdt_ext_clk_input_names[] __initconst = {"swdt_ext_clk"}; 103static const char *swdt_ext_clk_input_names[] __initdata = {"swdt_ext_clk"};
104 104
105static void __init zynq_clk_register_fclk(enum zynq_clk fclk, 105static void __init zynq_clk_register_fclk(enum zynq_clk fclk,
106 const char *clk_name, void __iomem *fclk_ctrl_reg, 106 const char *clk_name, void __iomem *fclk_ctrl_reg,