clk: don't use __initconst for non-const arrays

The statement

	static const char *name[];

defines a modifiable array of pointers to constant chars. That is

	*name[0] = 'f';

is forbidden, but

	name[0] = "f";

is not. So marking an array that is defined as above with __initconst is
wrong. Either an additional const must be added such that the whole
definition reads:

	static const char *const name[] __initconst;

or where this is not possible __initdata must be used.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Michael Turquette <mturquette@linaro.org>
This commit is contained in:
Uwe Kleine-König 2015-02-18 10:59:45 +01:00 committed by Michael Turquette
parent f6194213cb
commit 692d8328e8
12 changed files with 101 additions and 100 deletions

View File

@ -38,44 +38,44 @@
#include "clk.h" #include "clk.h"
/* clock parent list */ /* clock parent list */
static const char *timer0_mux_p[] __initconst = { "osc32k", "timerclk01", }; static const char *timer0_mux_p[] __initdata = { "osc32k", "timerclk01", };
static const char *timer1_mux_p[] __initconst = { "osc32k", "timerclk01", }; static const char *timer1_mux_p[] __initdata = { "osc32k", "timerclk01", };
static const char *timer2_mux_p[] __initconst = { "osc32k", "timerclk23", }; static const char *timer2_mux_p[] __initdata = { "osc32k", "timerclk23", };
static const char *timer3_mux_p[] __initconst = { "osc32k", "timerclk23", }; static const char *timer3_mux_p[] __initdata = { "osc32k", "timerclk23", };
static const char *timer4_mux_p[] __initconst = { "osc32k", "timerclk45", }; static const char *timer4_mux_p[] __initdata = { "osc32k", "timerclk45", };
static const char *timer5_mux_p[] __initconst = { "osc32k", "timerclk45", }; static const char *timer5_mux_p[] __initdata = { "osc32k", "timerclk45", };
static const char *timer6_mux_p[] __initconst = { "osc32k", "timerclk67", }; static const char *timer6_mux_p[] __initdata = { "osc32k", "timerclk67", };
static const char *timer7_mux_p[] __initconst = { "osc32k", "timerclk67", }; static const char *timer7_mux_p[] __initdata = { "osc32k", "timerclk67", };
static const char *timer8_mux_p[] __initconst = { "osc32k", "timerclk89", }; static const char *timer8_mux_p[] __initdata = { "osc32k", "timerclk89", };
static const char *timer9_mux_p[] __initconst = { "osc32k", "timerclk89", }; static const char *timer9_mux_p[] __initdata = { "osc32k", "timerclk89", };
static const char *uart0_mux_p[] __initconst = { "osc26m", "pclk", }; static const char *uart0_mux_p[] __initdata = { "osc26m", "pclk", };
static const char *uart1_mux_p[] __initconst = { "osc26m", "pclk", }; static const char *uart1_mux_p[] __initdata = { "osc26m", "pclk", };
static const char *uart2_mux_p[] __initconst = { "osc26m", "pclk", }; static const char *uart2_mux_p[] __initdata = { "osc26m", "pclk", };
static const char *uart3_mux_p[] __initconst = { "osc26m", "pclk", }; static const char *uart3_mux_p[] __initdata = { "osc26m", "pclk", };
static const char *uart4_mux_p[] __initconst = { "osc26m", "pclk", }; static const char *uart4_mux_p[] __initdata = { "osc26m", "pclk", };
static const char *spi0_mux_p[] __initconst = { "osc26m", "rclk_cfgaxi", }; static const char *spi0_mux_p[] __initdata = { "osc26m", "rclk_cfgaxi", };
static const char *spi1_mux_p[] __initconst = { "osc26m", "rclk_cfgaxi", }; static const char *spi1_mux_p[] __initdata = { "osc26m", "rclk_cfgaxi", };
static const char *spi2_mux_p[] __initconst = { "osc26m", "rclk_cfgaxi", }; static const char *spi2_mux_p[] __initdata = { "osc26m", "rclk_cfgaxi", };
/* share axi parent */ /* share axi parent */
static const char *saxi_mux_p[] __initconst = { "armpll3", "armpll2", }; static const char *saxi_mux_p[] __initdata = { "armpll3", "armpll2", };
static const char *pwm0_mux_p[] __initconst = { "osc32k", "osc26m", }; static const char *pwm0_mux_p[] __initdata = { "osc32k", "osc26m", };
static const char *pwm1_mux_p[] __initconst = { "osc32k", "osc26m", }; static const char *pwm1_mux_p[] __initdata = { "osc32k", "osc26m", };
static const char *sd_mux_p[] __initconst = { "armpll2", "armpll3", }; static const char *sd_mux_p[] __initdata = { "armpll2", "armpll3", };
static const char *mmc1_mux_p[] __initconst = { "armpll2", "armpll3", }; static const char *mmc1_mux_p[] __initdata = { "armpll2", "armpll3", };
static const char *mmc1_mux2_p[] __initconst = { "osc26m", "mmc1_div", }; static const char *mmc1_mux2_p[] __initdata = { "osc26m", "mmc1_div", };
static const char *g2d_mux_p[] __initconst = { "armpll2", "armpll3", }; static const char *g2d_mux_p[] __initdata = { "armpll2", "armpll3", };
static const char *venc_mux_p[] __initconst = { "armpll2", "armpll3", }; static const char *venc_mux_p[] __initdata = { "armpll2", "armpll3", };
static const char *vdec_mux_p[] __initconst = { "armpll2", "armpll3", }; static const char *vdec_mux_p[] __initdata = { "armpll2", "armpll3", };
static const char *vpp_mux_p[] __initconst = { "armpll2", "armpll3", }; static const char *vpp_mux_p[] __initdata = { "armpll2", "armpll3", };
static const char *edc0_mux_p[] __initconst = { "armpll2", "armpll3", }; static const char *edc0_mux_p[] __initdata = { "armpll2", "armpll3", };
static const char *ldi0_mux_p[] __initconst = { "armpll2", "armpll4", static const char *ldi0_mux_p[] __initdata = { "armpll2", "armpll4",
"armpll3", "armpll5", }; "armpll3", "armpll5", };
static const char *edc1_mux_p[] __initconst = { "armpll2", "armpll3", }; static const char *edc1_mux_p[] __initdata = { "armpll2", "armpll3", };
static const char *ldi1_mux_p[] __initconst = { "armpll2", "armpll4", static const char *ldi1_mux_p[] __initdata = { "armpll2", "armpll4",
"armpll3", "armpll5", }; "armpll3", "armpll5", };
static const char *rclk_hsic_p[] __initconst = { "armpll3", "armpll2", }; static const char *rclk_hsic_p[] __initdata = { "armpll3", "armpll2", };
static const char *mmc2_mux_p[] __initconst = { "armpll2", "armpll3", }; static const char *mmc2_mux_p[] __initdata = { "armpll2", "armpll3", };
static const char *mmc3_mux_p[] __initconst = { "armpll2", "armpll3", }; static const char *mmc3_mux_p[] __initdata = { "armpll2", "armpll3", };
/* fixed rate clocks */ /* fixed rate clocks */

View File

@ -46,15 +46,15 @@ static struct hisi_fixed_rate_clock hix5hd2_fixed_rate_clks[] __initdata = {
{ HIX5HD2_FIXED_83M, "83m", NULL, CLK_IS_ROOT, 83333333, }, { HIX5HD2_FIXED_83M, "83m", NULL, CLK_IS_ROOT, 83333333, },
}; };
static const char *sfc_mux_p[] __initconst = { static const char *sfc_mux_p[] __initdata = {
"24m", "150m", "200m", "100m", "75m", }; "24m", "150m", "200m", "100m", "75m", };
static u32 sfc_mux_table[] = {0, 4, 5, 6, 7}; static u32 sfc_mux_table[] = {0, 4, 5, 6, 7};
static const char *sdio_mux_p[] __initconst = { static const char *sdio_mux_p[] __initdata = {
"75m", "100m", "50m", "15m", }; "75m", "100m", "50m", "15m", };
static u32 sdio_mux_table[] = {0, 1, 2, 3}; static u32 sdio_mux_table[] = {0, 1, 2, 3};
static const char *fephy_mux_p[] __initconst = { "25m", "125m"}; static const char *fephy_mux_p[] __initdata = { "25m", "125m"};
static u32 fephy_mux_table[] = {0, 1}; static u32 fephy_mux_table[] = {0, 1};

View File

@ -77,12 +77,12 @@ static void __init clk_misc_init(void)
writel_relaxed(30 << BP_FRAC_IOFRAC, FRAC + SET); writel_relaxed(30 << BP_FRAC_IOFRAC, FRAC + SET);
} }
static const char *sel_pll[] __initconst = { "pll", "ref_xtal", }; static const char *sel_pll[] __initdata = { "pll", "ref_xtal", };
static const char *sel_cpu[] __initconst = { "ref_cpu", "ref_xtal", }; static const char *sel_cpu[] __initdata = { "ref_cpu", "ref_xtal", };
static const char *sel_pix[] __initconst = { "ref_pix", "ref_xtal", }; static const char *sel_pix[] __initdata = { "ref_pix", "ref_xtal", };
static const char *sel_io[] __initconst = { "ref_io", "ref_xtal", }; static const char *sel_io[] __initdata = { "ref_io", "ref_xtal", };
static const char *cpu_sels[] __initconst = { "cpu_pll", "cpu_xtal", }; static const char *cpu_sels[] __initdata = { "cpu_pll", "cpu_xtal", };
static const char *emi_sels[] __initconst = { "emi_pll", "emi_xtal", }; static const char *emi_sels[] __initdata = { "emi_pll", "emi_xtal", };
enum imx23_clk { enum imx23_clk {
ref_xtal, pll, ref_cpu, ref_emi, ref_pix, ref_io, saif_sel, ref_xtal, pll, ref_cpu, ref_emi, ref_pix, ref_io, saif_sel,

View File

@ -125,15 +125,15 @@ static void __init clk_misc_init(void)
writel_relaxed(val, FRAC0); writel_relaxed(val, FRAC0);
} }
static const char *sel_cpu[] __initconst = { "ref_cpu", "ref_xtal", }; static const char *sel_cpu[] __initdata = { "ref_cpu", "ref_xtal", };
static const char *sel_io0[] __initconst = { "ref_io0", "ref_xtal", }; static const char *sel_io0[] __initdata = { "ref_io0", "ref_xtal", };
static const char *sel_io1[] __initconst = { "ref_io1", "ref_xtal", }; static const char *sel_io1[] __initdata = { "ref_io1", "ref_xtal", };
static const char *sel_pix[] __initconst = { "ref_pix", "ref_xtal", }; static const char *sel_pix[] __initdata = { "ref_pix", "ref_xtal", };
static const char *sel_gpmi[] __initconst = { "ref_gpmi", "ref_xtal", }; static const char *sel_gpmi[] __initdata = { "ref_gpmi", "ref_xtal", };
static const char *sel_pll0[] __initconst = { "pll0", "ref_xtal", }; static const char *sel_pll0[] __initdata = { "pll0", "ref_xtal", };
static const char *cpu_sels[] __initconst = { "cpu_pll", "cpu_xtal", }; static const char *cpu_sels[] __initdata = { "cpu_pll", "cpu_xtal", };
static const char *emi_sels[] __initconst = { "emi_pll", "emi_xtal", }; static const char *emi_sels[] __initdata = { "emi_pll", "emi_xtal", };
static const char *ptp_sels[] __initconst = { "ref_xtal", "pll0", }; static const char *ptp_sels[] __initdata = { "ref_xtal", "pll0", };
enum imx28_clk { enum imx28_clk {
ref_xtal, pll0, pll1, pll2, ref_cpu, ref_emi, ref_io0, ref_io1, ref_xtal, pll0, pll1, pll2, ref_cpu, ref_emi, ref_io0, ref_io1,

View File

@ -14,7 +14,7 @@
#define _CLK_PXA_ #define _CLK_PXA_
#define PARENTS(name) \ #define PARENTS(name) \
static const char *name ## _parents[] __initconst static const char *name ## _parents[] __initdata
#define MUX_RO_RATE_RO_OPS(name, clk_name) \ #define MUX_RO_RATE_RO_OPS(name, clk_name) \
static struct clk_hw name ## _mux_hw; \ static struct clk_hw name ## _mux_hw; \
static struct clk_hw name ## _rate_hw; \ static struct clk_hw name ## _rate_hw; \

View File

@ -704,7 +704,7 @@ static struct rockchip_clk_branch rk3188_clk_branches[] __initdata = {
GATE(ACLK_GPS, "aclk_gps", "aclk_peri", 0, RK2928_CLKGATE_CON(8), 13, GFLAGS), GATE(ACLK_GPS, "aclk_gps", "aclk_peri", 0, RK2928_CLKGATE_CON(8), 13, GFLAGS),
}; };
static const char *rk3188_critical_clocks[] __initconst = { static const char *const rk3188_critical_clocks[] __initconst = {
"aclk_cpu", "aclk_cpu",
"aclk_peri", "aclk_peri",
"hclk_peri", "hclk_peri",

View File

@ -771,7 +771,7 @@ static struct rockchip_clk_branch rk3288_clk_branches[] __initdata = {
GATE(0, "pclk_isp_in", "ext_isp", 0, RK3288_CLKGATE_CON(16), 3, GFLAGS), GATE(0, "pclk_isp_in", "ext_isp", 0, RK3288_CLKGATE_CON(16), 3, GFLAGS),
}; };
static const char *rk3288_critical_clocks[] __initconst = { static const char *const rk3288_critical_clocks[] __initconst = {
"aclk_cpu", "aclk_cpu",
"aclk_peri", "aclk_peri",
"hclk_peri", "hclk_peri",

View File

@ -317,7 +317,8 @@ void __init rockchip_clk_register_armclk(unsigned int lookup_id,
rockchip_clk_add_lookup(clk, lookup_id); rockchip_clk_add_lookup(clk, lookup_id);
} }
void __init rockchip_clk_protect_critical(const char *clocks[], int nclocks) void __init rockchip_clk_protect_critical(const char *const clocks[],
int nclocks)
{ {
int i; int i;

View File

@ -182,7 +182,7 @@ struct clk *rockchip_clk_register_mmc(const char *name,
const char **parent_names, u8 num_parents, const char **parent_names, u8 num_parents,
void __iomem *reg, int shift); void __iomem *reg, int shift);
#define PNAME(x) static const char *x[] __initconst #define PNAME(x) static const char *x[] __initdata
enum rockchip_clk_branch_type { enum rockchip_clk_branch_type {
branch_composite, branch_composite,
@ -407,7 +407,7 @@ void rockchip_clk_register_armclk(unsigned int lookup_id, const char *name,
const struct rockchip_cpuclk_reg_data *reg_data, const struct rockchip_cpuclk_reg_data *reg_data,
const struct rockchip_cpuclk_rate_table *rates, const struct rockchip_cpuclk_rate_table *rates,
int nrates); int nrates);
void rockchip_clk_protect_critical(const char *clocks[], int nclocks); void rockchip_clk_protect_critical(const char *const clocks[], int nclocks);
void rockchip_register_restart_notifier(unsigned int reg); void rockchip_register_restart_notifier(unsigned int reg);
#define ROCKCHIP_SOFTRST_HIWORD_MASK BIT(0) #define ROCKCHIP_SOFTRST_HIWORD_MASK BIT(0)

View File

@ -169,44 +169,44 @@ static inline void s5pv210_clk_sleep_init(void) { }
#endif #endif
/* Mux parent lists. */ /* Mux parent lists. */
static const char *fin_pll_p[] __initconst = { static const char *fin_pll_p[] __initdata = {
"xxti", "xxti",
"xusbxti" "xusbxti"
}; };
static const char *mout_apll_p[] __initconst = { static const char *mout_apll_p[] __initdata = {
"fin_pll", "fin_pll",
"fout_apll" "fout_apll"
}; };
static const char *mout_mpll_p[] __initconst = { static const char *mout_mpll_p[] __initdata = {
"fin_pll", "fin_pll",
"fout_mpll" "fout_mpll"
}; };
static const char *mout_epll_p[] __initconst = { static const char *mout_epll_p[] __initdata = {
"fin_pll", "fin_pll",
"fout_epll" "fout_epll"
}; };
static const char *mout_vpllsrc_p[] __initconst = { static const char *mout_vpllsrc_p[] __initdata = {
"fin_pll", "fin_pll",
"sclk_hdmi27m" "sclk_hdmi27m"
}; };
static const char *mout_vpll_p[] __initconst = { static const char *mout_vpll_p[] __initdata = {
"mout_vpllsrc", "mout_vpllsrc",
"fout_vpll" "fout_vpll"
}; };
static const char *mout_group1_p[] __initconst = { static const char *mout_group1_p[] __initdata = {
"dout_a2m", "dout_a2m",
"mout_mpll", "mout_mpll",
"mout_epll", "mout_epll",
"mout_vpll" "mout_vpll"
}; };
static const char *mout_group2_p[] __initconst = { static const char *mout_group2_p[] __initdata = {
"xxti", "xxti",
"xusbxti", "xusbxti",
"sclk_hdmi27m", "sclk_hdmi27m",
@ -218,7 +218,7 @@ static const char *mout_group2_p[] __initconst = {
"mout_vpll", "mout_vpll",
}; };
static const char *mout_audio0_p[] __initconst = { static const char *mout_audio0_p[] __initdata = {
"xxti", "xxti",
"pcmcdclk0", "pcmcdclk0",
"sclk_hdmi27m", "sclk_hdmi27m",
@ -230,7 +230,7 @@ static const char *mout_audio0_p[] __initconst = {
"mout_vpll", "mout_vpll",
}; };
static const char *mout_audio1_p[] __initconst = { static const char *mout_audio1_p[] __initdata = {
"i2scdclk1", "i2scdclk1",
"pcmcdclk1", "pcmcdclk1",
"sclk_hdmi27m", "sclk_hdmi27m",
@ -242,7 +242,7 @@ static const char *mout_audio1_p[] __initconst = {
"mout_vpll", "mout_vpll",
}; };
static const char *mout_audio2_p[] __initconst = { static const char *mout_audio2_p[] __initdata = {
"i2scdclk2", "i2scdclk2",
"pcmcdclk2", "pcmcdclk2",
"sclk_hdmi27m", "sclk_hdmi27m",
@ -254,63 +254,63 @@ static const char *mout_audio2_p[] __initconst = {
"mout_vpll", "mout_vpll",
}; };
static const char *mout_spdif_p[] __initconst = { static const char *mout_spdif_p[] __initdata = {
"dout_audio0", "dout_audio0",
"dout_audio1", "dout_audio1",
"dout_audio3", "dout_audio3",
}; };
static const char *mout_group3_p[] __initconst = { static const char *mout_group3_p[] __initdata = {
"mout_apll", "mout_apll",
"mout_mpll" "mout_mpll"
}; };
static const char *mout_group4_p[] __initconst = { static const char *mout_group4_p[] __initdata = {
"mout_mpll", "mout_mpll",
"dout_a2m" "dout_a2m"
}; };
static const char *mout_flash_p[] __initconst = { static const char *mout_flash_p[] __initdata = {
"dout_hclkd", "dout_hclkd",
"dout_hclkp" "dout_hclkp"
}; };
static const char *mout_dac_p[] __initconst = { static const char *mout_dac_p[] __initdata = {
"mout_vpll", "mout_vpll",
"sclk_hdmiphy" "sclk_hdmiphy"
}; };
static const char *mout_hdmi_p[] __initconst = { static const char *mout_hdmi_p[] __initdata = {
"sclk_hdmiphy", "sclk_hdmiphy",
"dout_tblk" "dout_tblk"
}; };
static const char *mout_mixer_p[] __initconst = { static const char *mout_mixer_p[] __initdata = {
"mout_dac", "mout_dac",
"mout_hdmi" "mout_hdmi"
}; };
static const char *mout_vpll_6442_p[] __initconst = { static const char *mout_vpll_6442_p[] __initdata = {
"fin_pll", "fin_pll",
"fout_vpll" "fout_vpll"
}; };
static const char *mout_mixer_6442_p[] __initconst = { static const char *mout_mixer_6442_p[] __initdata = {
"mout_vpll", "mout_vpll",
"dout_mixer" "dout_mixer"
}; };
static const char *mout_d0sync_6442_p[] __initconst = { static const char *mout_d0sync_6442_p[] __initdata = {
"mout_dsys", "mout_dsys",
"div_apll" "div_apll"
}; };
static const char *mout_d1sync_6442_p[] __initconst = { static const char *mout_d1sync_6442_p[] __initdata = {
"mout_psys", "mout_psys",
"div_apll" "div_apll"
}; };
static const char *mout_group2_6442_p[] __initconst = { static const char *mout_group2_6442_p[] __initdata = {
"fin_pll", "fin_pll",
"none", "none",
"none", "none",
@ -322,7 +322,7 @@ static const char *mout_group2_6442_p[] __initconst = {
"mout_vpll", "mout_vpll",
}; };
static const char *mout_audio0_6442_p[] __initconst = { static const char *mout_audio0_6442_p[] __initdata = {
"fin_pll", "fin_pll",
"pcmcdclk0", "pcmcdclk0",
"none", "none",
@ -334,7 +334,7 @@ static const char *mout_audio0_6442_p[] __initconst = {
"mout_vpll", "mout_vpll",
}; };
static const char *mout_audio1_6442_p[] __initconst = { static const char *mout_audio1_6442_p[] __initdata = {
"i2scdclk1", "i2scdclk1",
"pcmcdclk1", "pcmcdclk1",
"none", "none",
@ -347,7 +347,7 @@ static const char *mout_audio1_6442_p[] __initconst = {
"fin_pll", "fin_pll",
}; };
static const char *mout_clksel_p[] __initconst = { static const char *mout_clksel_p[] __initdata = {
"fout_apll_clkout", "fout_apll_clkout",
"fout_mpll_clkout", "fout_mpll_clkout",
"fout_epll", "fout_epll",
@ -370,7 +370,7 @@ static const char *mout_clksel_p[] __initconst = {
"div_dclk" "div_dclk"
}; };
static const char *mout_clksel_6442_p[] __initconst = { static const char *mout_clksel_6442_p[] __initdata = {
"fout_apll_clkout", "fout_apll_clkout",
"fout_mpll_clkout", "fout_mpll_clkout",
"fout_epll", "fout_epll",
@ -393,7 +393,7 @@ static const char *mout_clksel_6442_p[] __initconst = {
"div_dclk" "div_dclk"
}; };
static const char *mout_clkout_p[] __initconst = { static const char *mout_clkout_p[] __initdata = {
"dout_clkout", "dout_clkout",
"none", "none",
"xxti", "xxti",

View File

@ -69,7 +69,7 @@ struct component_clk {
struct list_head link; struct list_head link;
}; };
static const char * __initconst component_clk_types[] = { static const char * const component_clk_types[] __initconst = {
"gate", "divider", "mux" "gate", "divider", "mux"
}; };

View File

@ -85,22 +85,22 @@ static DEFINE_SPINLOCK(canmioclk_lock);
static DEFINE_SPINLOCK(dbgclk_lock); static DEFINE_SPINLOCK(dbgclk_lock);
static DEFINE_SPINLOCK(aperclk_lock); static DEFINE_SPINLOCK(aperclk_lock);
static const char *armpll_parents[] __initconst = {"armpll_int", "ps_clk"}; static const char *armpll_parents[] __initdata = {"armpll_int", "ps_clk"};
static const char *ddrpll_parents[] __initconst = {"ddrpll_int", "ps_clk"}; static const char *ddrpll_parents[] __initdata = {"ddrpll_int", "ps_clk"};
static const char *iopll_parents[] __initconst = {"iopll_int", "ps_clk"}; static const char *iopll_parents[] __initdata = {"iopll_int", "ps_clk"};
static const char *gem0_mux_parents[] __initconst = {"gem0_div1", "dummy_name"}; static const char *gem0_mux_parents[] __initdata = {"gem0_div1", "dummy_name"};
static const char *gem1_mux_parents[] __initconst = {"gem1_div1", "dummy_name"}; static const char *gem1_mux_parents[] __initdata = {"gem1_div1", "dummy_name"};
static const char *can0_mio_mux2_parents[] __initconst = {"can0_gate", static const char *can0_mio_mux2_parents[] __initdata = {"can0_gate",
"can0_mio_mux"}; "can0_mio_mux"};
static const char *can1_mio_mux2_parents[] __initconst = {"can1_gate", static const char *can1_mio_mux2_parents[] __initdata = {"can1_gate",
"can1_mio_mux"}; "can1_mio_mux"};
static const char *dbg_emio_mux_parents[] __initconst = {"dbg_div", static const char *dbg_emio_mux_parents[] __initdata = {"dbg_div",
"dummy_name"}; "dummy_name"};
static const char *dbgtrc_emio_input_names[] __initconst = {"trace_emio_clk"}; static const char *dbgtrc_emio_input_names[] __initdata = {"trace_emio_clk"};
static const char *gem0_emio_input_names[] __initconst = {"gem0_emio_clk"}; static const char *gem0_emio_input_names[] __initdata = {"gem0_emio_clk"};
static const char *gem1_emio_input_names[] __initconst = {"gem1_emio_clk"}; static const char *gem1_emio_input_names[] __initdata = {"gem1_emio_clk"};
static const char *swdt_ext_clk_input_names[] __initconst = {"swdt_ext_clk"}; static const char *swdt_ext_clk_input_names[] __initdata = {"swdt_ext_clk"};
static void __init zynq_clk_register_fclk(enum zynq_clk fclk, static void __init zynq_clk_register_fclk(enum zynq_clk fclk,
const char *clk_name, void __iomem *fclk_ctrl_reg, const char *clk_name, void __iomem *fclk_ctrl_reg,