Commit ed9c62f7 authored by Stephen Boyd's avatar Stephen Boyd

Merge branch 'clk-const' into clk-next

* clk-const:
  clk: make clk_init_data const
  clk: imx: make clk_ops const
  clk: mmp: make clk_ops const
  clk: hisilicon: make clk_ops const
  clk: mxs: make clk_ops const
  clk: sirf: make clk_ops const
  clk: spear: make clk_ops const
  CLK: SPEAr: make aux_clk_masks structures const
  CLK: SPEAr: make structure field and function argument as const
parents 3b0da916 0777066d
...@@ -82,7 +82,7 @@ static const struct clk_ops twl6040_pdmclk_ops = { ...@@ -82,7 +82,7 @@ static const struct clk_ops twl6040_pdmclk_ops = {
.recalc_rate = twl6040_pdmclk_recalc_rate, .recalc_rate = twl6040_pdmclk_recalc_rate,
}; };
static struct clk_init_data twl6040_pdmclk_init = { static const struct clk_init_data twl6040_pdmclk_init = {
.name = "pdmclk", .name = "pdmclk",
.ops = &twl6040_pdmclk_ops, .ops = &twl6040_pdmclk_ops,
.flags = CLK_GET_RATE_NOCACHE, .flags = CLK_GET_RATE_NOCACHE,
......
...@@ -52,7 +52,7 @@ static const struct clk_ops wm831x_xtal_ops = { ...@@ -52,7 +52,7 @@ static const struct clk_ops wm831x_xtal_ops = {
.recalc_rate = wm831x_xtal_recalc_rate, .recalc_rate = wm831x_xtal_recalc_rate,
}; };
static struct clk_init_data wm831x_xtal_init = { static const struct clk_init_data wm831x_xtal_init = {
.name = "xtal", .name = "xtal",
.ops = &wm831x_xtal_ops, .ops = &wm831x_xtal_ops,
}; };
...@@ -225,7 +225,7 @@ static const struct clk_ops wm831x_fll_ops = { ...@@ -225,7 +225,7 @@ static const struct clk_ops wm831x_fll_ops = {
.get_parent = wm831x_fll_get_parent, .get_parent = wm831x_fll_get_parent,
}; };
static struct clk_init_data wm831x_fll_init = { static const struct clk_init_data wm831x_fll_init = {
.name = "fll", .name = "fll",
.ops = &wm831x_fll_ops, .ops = &wm831x_fll_ops,
.parent_names = wm831x_fll_parents, .parent_names = wm831x_fll_parents,
...@@ -338,7 +338,7 @@ static const struct clk_ops wm831x_clkout_ops = { ...@@ -338,7 +338,7 @@ static const struct clk_ops wm831x_clkout_ops = {
.set_parent = wm831x_clkout_set_parent, .set_parent = wm831x_clkout_set_parent,
}; };
static struct clk_init_data wm831x_clkout_init = { static const struct clk_init_data wm831x_clkout_init = {
.name = "clkout", .name = "clkout",
.ops = &wm831x_clkout_ops, .ops = &wm831x_clkout_ops,
.parent_names = wm831x_clkout_parents, .parent_names = wm831x_clkout_parents,
......
...@@ -415,7 +415,7 @@ static int mmc_clk_set_rate(struct clk_hw *hw, unsigned long rate, ...@@ -415,7 +415,7 @@ static int mmc_clk_set_rate(struct clk_hw *hw, unsigned long rate,
return mmc_clk_set_timing(hw, rate); return mmc_clk_set_timing(hw, rate);
} }
static struct clk_ops clk_mmc_ops = { static const struct clk_ops clk_mmc_ops = {
.prepare = mmc_clk_prepare, .prepare = mmc_clk_prepare,
.determine_rate = mmc_clk_determine_rate, .determine_rate = mmc_clk_determine_rate,
.set_rate = mmc_clk_set_rate, .set_rate = mmc_clk_set_rate,
......
...@@ -208,7 +208,7 @@ static void clk_ether_unprepare(struct clk_hw *hw) ...@@ -208,7 +208,7 @@ static void clk_ether_unprepare(struct clk_hw *hw)
writel_relaxed(val, clk->ctrl_reg); writel_relaxed(val, clk->ctrl_reg);
} }
static struct clk_ops clk_ether_ops = { static const struct clk_ops clk_ether_ops = {
.prepare = clk_ether_prepare, .prepare = clk_ether_prepare,
.unprepare = clk_ether_unprepare, .unprepare = clk_ether_unprepare,
}; };
...@@ -247,7 +247,7 @@ static void clk_complex_disable(struct clk_hw *hw) ...@@ -247,7 +247,7 @@ static void clk_complex_disable(struct clk_hw *hw)
writel_relaxed(val, clk->phy_reg); writel_relaxed(val, clk->phy_reg);
} }
static struct clk_ops clk_complex_ops = { static const struct clk_ops clk_complex_ops = {
.enable = clk_complex_enable, .enable = clk_complex_enable,
.disable = clk_complex_disable, .disable = clk_complex_disable,
}; };
......
...@@ -88,7 +88,7 @@ static int clkgate_separated_is_enabled(struct clk_hw *hw) ...@@ -88,7 +88,7 @@ static int clkgate_separated_is_enabled(struct clk_hw *hw)
return reg ? 1 : 0; return reg ? 1 : 0;
} }
static struct clk_ops clkgate_separated_ops = { static const struct clk_ops clkgate_separated_ops = {
.enable = clkgate_separated_enable, .enable = clkgate_separated_enable,
.disable = clkgate_separated_disable, .disable = clkgate_separated_disable,
.is_enabled = clkgate_separated_is_enabled, .is_enabled = clkgate_separated_is_enabled,
......
...@@ -72,7 +72,7 @@ static int clk_busy_divider_set_rate(struct clk_hw *hw, unsigned long rate, ...@@ -72,7 +72,7 @@ static int clk_busy_divider_set_rate(struct clk_hw *hw, unsigned long rate,
return ret; return ret;
} }
static struct clk_ops clk_busy_divider_ops = { static const struct clk_ops clk_busy_divider_ops = {
.recalc_rate = clk_busy_divider_recalc_rate, .recalc_rate = clk_busy_divider_recalc_rate,
.round_rate = clk_busy_divider_round_rate, .round_rate = clk_busy_divider_round_rate,
.set_rate = clk_busy_divider_set_rate, .set_rate = clk_busy_divider_set_rate,
...@@ -147,7 +147,7 @@ static int clk_busy_mux_set_parent(struct clk_hw *hw, u8 index) ...@@ -147,7 +147,7 @@ static int clk_busy_mux_set_parent(struct clk_hw *hw, u8 index)
return ret; return ret;
} }
static struct clk_ops clk_busy_mux_ops = { static const struct clk_ops clk_busy_mux_ops = {
.get_parent = clk_busy_mux_get_parent, .get_parent = clk_busy_mux_get_parent,
.set_parent = clk_busy_mux_set_parent, .set_parent = clk_busy_mux_set_parent,
}; };
......
...@@ -118,7 +118,7 @@ static void clk_gate2_disable_unused(struct clk_hw *hw) ...@@ -118,7 +118,7 @@ static void clk_gate2_disable_unused(struct clk_hw *hw)
spin_unlock_irqrestore(gate->lock, flags); spin_unlock_irqrestore(gate->lock, flags);
} }
static struct clk_ops clk_gate2_ops = { static const struct clk_ops clk_gate2_ops = {
.enable = clk_gate2_enable, .enable = clk_gate2_enable,
.disable = clk_gate2_disable, .disable = clk_gate2_disable,
.disable_unused = clk_gate2_disable_unused, .disable_unused = clk_gate2_disable_unused,
......
...@@ -106,7 +106,7 @@ static unsigned long clk_pllv1_recalc_rate(struct clk_hw *hw, ...@@ -106,7 +106,7 @@ static unsigned long clk_pllv1_recalc_rate(struct clk_hw *hw,
return ull; return ull;
} }
static struct clk_ops clk_pllv1_ops = { static const struct clk_ops clk_pllv1_ops = {
.recalc_rate = clk_pllv1_recalc_rate, .recalc_rate = clk_pllv1_recalc_rate,
}; };
......
...@@ -226,7 +226,7 @@ static void clk_pllv2_unprepare(struct clk_hw *hw) ...@@ -226,7 +226,7 @@ static void clk_pllv2_unprepare(struct clk_hw *hw)
__raw_writel(reg, pllbase + MXC_PLL_DP_CTL); __raw_writel(reg, pllbase + MXC_PLL_DP_CTL);
} }
static struct clk_ops clk_pllv2_ops = { static const struct clk_ops clk_pllv2_ops = {
.prepare = clk_pllv2_prepare, .prepare = clk_pllv2_prepare,
.unprepare = clk_pllv2_unprepare, .unprepare = clk_pllv2_unprepare,
.recalc_rate = clk_pllv2_recalc_rate, .recalc_rate = clk_pllv2_recalc_rate,
......
...@@ -114,7 +114,7 @@ static void clk_apbc_unprepare(struct clk_hw *hw) ...@@ -114,7 +114,7 @@ static void clk_apbc_unprepare(struct clk_hw *hw)
spin_unlock_irqrestore(apbc->lock, flags); spin_unlock_irqrestore(apbc->lock, flags);
} }
static struct clk_ops clk_apbc_ops = { static const struct clk_ops clk_apbc_ops = {
.prepare = clk_apbc_prepare, .prepare = clk_apbc_prepare,
.unprepare = clk_apbc_unprepare, .unprepare = clk_apbc_unprepare,
}; };
......
...@@ -60,7 +60,7 @@ static void clk_apmu_disable(struct clk_hw *hw) ...@@ -60,7 +60,7 @@ static void clk_apmu_disable(struct clk_hw *hw)
spin_unlock_irqrestore(apmu->lock, flags); spin_unlock_irqrestore(apmu->lock, flags);
} }
static struct clk_ops clk_apmu_ops = { static const struct clk_ops clk_apmu_ops = {
.enable = clk_apmu_enable, .enable = clk_apmu_enable,
.disable = clk_apmu_disable, .disable = clk_apmu_disable,
}; };
......
...@@ -149,7 +149,7 @@ static void clk_factor_init(struct clk_hw *hw) ...@@ -149,7 +149,7 @@ static void clk_factor_init(struct clk_hw *hw)
spin_unlock_irqrestore(factor->lock, flags); spin_unlock_irqrestore(factor->lock, flags);
} }
static struct clk_ops clk_factor_ops = { static const struct clk_ops clk_factor_ops = {
.recalc_rate = clk_factor_recalc_rate, .recalc_rate = clk_factor_recalc_rate,
.round_rate = clk_factor_round_rate, .round_rate = clk_factor_round_rate,
.set_rate = clk_factor_set_rate, .set_rate = clk_factor_set_rate,
......
...@@ -67,7 +67,7 @@ static int clk_div_set_rate(struct clk_hw *hw, unsigned long rate, ...@@ -67,7 +67,7 @@ static int clk_div_set_rate(struct clk_hw *hw, unsigned long rate,
return ret; return ret;
} }
static struct clk_ops clk_div_ops = { static const struct clk_ops clk_div_ops = {
.recalc_rate = clk_div_recalc_rate, .recalc_rate = clk_div_recalc_rate,
.round_rate = clk_div_round_rate, .round_rate = clk_div_round_rate,
.set_rate = clk_div_set_rate, .set_rate = clk_div_set_rate,
......
...@@ -107,7 +107,7 @@ static int clk_frac_set_rate(struct clk_hw *hw, unsigned long rate, ...@@ -107,7 +107,7 @@ static int clk_frac_set_rate(struct clk_hw *hw, unsigned long rate,
return mxs_clk_wait(frac->reg, frac->busy); return mxs_clk_wait(frac->reg, frac->busy);
} }
static struct clk_ops clk_frac_ops = { static const struct clk_ops clk_frac_ops = {
.recalc_rate = clk_frac_recalc_rate, .recalc_rate = clk_frac_recalc_rate,
.round_rate = clk_frac_round_rate, .round_rate = clk_frac_round_rate,
.set_rate = clk_frac_set_rate, .set_rate = clk_frac_set_rate,
......
...@@ -42,7 +42,7 @@ static struct clk_dmn clk_mmc45 = { ...@@ -42,7 +42,7 @@ static struct clk_dmn clk_mmc45 = {
}, },
}; };
static struct clk_init_data clk_nand_init = { static const struct clk_init_data clk_nand_init = {
.name = "nand", .name = "nand",
.ops = &dmn_ops, .ops = &dmn_ops,
.parent_names = dmn_clk_parents, .parent_names = dmn_clk_parents,
......
...@@ -392,7 +392,7 @@ static const char * const pll_clk_parents[] = { ...@@ -392,7 +392,7 @@ static const char * const pll_clk_parents[] = {
"xin", "xin",
}; };
static struct clk_init_data clk_cpupll_init = { static const struct clk_init_data clk_cpupll_init = {
.name = "cpupll_vco", .name = "cpupll_vco",
.ops = &ab_pll_ops, .ops = &ab_pll_ops,
.parent_names = pll_clk_parents, .parent_names = pll_clk_parents,
...@@ -406,7 +406,7 @@ static struct clk_pll clk_cpupll = { ...@@ -406,7 +406,7 @@ static struct clk_pll clk_cpupll = {
}, },
}; };
static struct clk_init_data clk_mempll_init = { static const struct clk_init_data clk_mempll_init = {
.name = "mempll_vco", .name = "mempll_vco",
.ops = &ab_pll_ops, .ops = &ab_pll_ops,
.parent_names = pll_clk_parents, .parent_names = pll_clk_parents,
...@@ -420,7 +420,7 @@ static struct clk_pll clk_mempll = { ...@@ -420,7 +420,7 @@ static struct clk_pll clk_mempll = {
}, },
}; };
static struct clk_init_data clk_sys0pll_init = { static const struct clk_init_data clk_sys0pll_init = {
.name = "sys0pll_vco", .name = "sys0pll_vco",
.ops = &ab_pll_ops, .ops = &ab_pll_ops,
.parent_names = pll_clk_parents, .parent_names = pll_clk_parents,
...@@ -434,7 +434,7 @@ static struct clk_pll clk_sys0pll = { ...@@ -434,7 +434,7 @@ static struct clk_pll clk_sys0pll = {
}, },
}; };
static struct clk_init_data clk_sys1pll_init = { static const struct clk_init_data clk_sys1pll_init = {
.name = "sys1pll_vco", .name = "sys1pll_vco",
.ops = &ab_pll_ops, .ops = &ab_pll_ops,
.parent_names = pll_clk_parents, .parent_names = pll_clk_parents,
...@@ -448,7 +448,7 @@ static struct clk_pll clk_sys1pll = { ...@@ -448,7 +448,7 @@ static struct clk_pll clk_sys1pll = {
}, },
}; };
static struct clk_init_data clk_sys2pll_init = { static const struct clk_init_data clk_sys2pll_init = {
.name = "sys2pll_vco", .name = "sys2pll_vco",
.ops = &ab_pll_ops, .ops = &ab_pll_ops,
.parent_names = pll_clk_parents, .parent_names = pll_clk_parents,
...@@ -462,7 +462,7 @@ static struct clk_pll clk_sys2pll = { ...@@ -462,7 +462,7 @@ static struct clk_pll clk_sys2pll = {
}, },
}; };
static struct clk_init_data clk_sys3pll_init = { static const struct clk_init_data clk_sys3pll_init = {
.name = "sys3pll_vco", .name = "sys3pll_vco",
.ops = &ab_pll_ops, .ops = &ab_pll_ops,
.parent_names = pll_clk_parents, .parent_names = pll_clk_parents,
...@@ -596,7 +596,7 @@ static const char * const audiodto_clk_parents[] = { ...@@ -596,7 +596,7 @@ static const char * const audiodto_clk_parents[] = {
"sys3pll_clk1", "sys3pll_clk1",
}; };
static struct clk_init_data clk_audiodto_init = { static const struct clk_init_data clk_audiodto_init = {
.name = "audio_dto", .name = "audio_dto",
.ops = &dto_ops, .ops = &dto_ops,
.parent_names = audiodto_clk_parents, .parent_names = audiodto_clk_parents,
...@@ -617,7 +617,7 @@ static const char * const disp0dto_clk_parents[] = { ...@@ -617,7 +617,7 @@ static const char * const disp0dto_clk_parents[] = {
"sys3pll_clk1", "sys3pll_clk1",
}; };
static struct clk_init_data clk_disp0dto_init = { static const struct clk_init_data clk_disp0dto_init = {
.name = "disp0_dto", .name = "disp0_dto",
.ops = &dto_ops, .ops = &dto_ops,
.parent_names = disp0dto_clk_parents, .parent_names = disp0dto_clk_parents,
...@@ -638,7 +638,7 @@ static const char * const disp1dto_clk_parents[] = { ...@@ -638,7 +638,7 @@ static const char * const disp1dto_clk_parents[] = {
"sys3pll_clk1", "sys3pll_clk1",
}; };
static struct clk_init_data clk_disp1dto_init = { static const struct clk_init_data clk_disp1dto_init = {
.name = "disp1_dto", .name = "disp1_dto",
.ops = &dto_ops, .ops = &dto_ops,
.parent_names = disp1dto_clk_parents, .parent_names = disp1dto_clk_parents,
......
This diff is collapsed.
...@@ -42,7 +42,7 @@ static struct clk_dmn clk_mmc45 = { ...@@ -42,7 +42,7 @@ static struct clk_dmn clk_mmc45 = {
}, },
}; };
static struct clk_init_data clk_nand_init = { static const struct clk_init_data clk_nand_init = {
.name = "nand", .name = "nand",
.ops = &ios_ops, .ops = &ios_ops,
.parent_names = std_clk_io_parents, .parent_names = std_clk_io_parents,
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
#define to_clk_aux(_hw) container_of(_hw, struct clk_aux, hw) #define to_clk_aux(_hw) container_of(_hw, struct clk_aux, hw)
static struct aux_clk_masks default_aux_masks = { static const struct aux_clk_masks default_aux_masks = {
.eq_sel_mask = AUX_EQ_SEL_MASK, .eq_sel_mask = AUX_EQ_SEL_MASK,
.eq_sel_shift = AUX_EQ_SEL_SHIFT, .eq_sel_shift = AUX_EQ_SEL_SHIFT,
.eq1_mask = AUX_EQ1_SEL, .eq1_mask = AUX_EQ1_SEL,
...@@ -128,7 +128,7 @@ static int clk_aux_set_rate(struct clk_hw *hw, unsigned long drate, ...@@ -128,7 +128,7 @@ static int clk_aux_set_rate(struct clk_hw *hw, unsigned long drate,
return 0; return 0;
} }
static struct clk_ops clk_aux_ops = { static const struct clk_ops clk_aux_ops = {
.recalc_rate = clk_aux_recalc_rate, .recalc_rate = clk_aux_recalc_rate,
.round_rate = clk_aux_round_rate, .round_rate = clk_aux_round_rate,
.set_rate = clk_aux_set_rate, .set_rate = clk_aux_set_rate,
...@@ -136,7 +136,7 @@ static struct clk_ops clk_aux_ops = { ...@@ -136,7 +136,7 @@ static struct clk_ops clk_aux_ops = {
struct clk *clk_register_aux(const char *aux_name, const char *gate_name, struct clk *clk_register_aux(const char *aux_name, const char *gate_name,
const char *parent_name, unsigned long flags, void __iomem *reg, const char *parent_name, unsigned long flags, void __iomem *reg,
struct aux_clk_masks *masks, struct aux_rate_tbl *rtbl, const struct aux_clk_masks *masks, struct aux_rate_tbl *rtbl,
u8 rtbl_cnt, spinlock_t *lock, struct clk **gate_clk) u8 rtbl_cnt, spinlock_t *lock, struct clk **gate_clk)
{ {
struct clk_aux *aux; struct clk_aux *aux;
......
...@@ -116,7 +116,7 @@ static int clk_frac_set_rate(struct clk_hw *hw, unsigned long drate, ...@@ -116,7 +116,7 @@ static int clk_frac_set_rate(struct clk_hw *hw, unsigned long drate,
return 0; return 0;
} }
static struct clk_ops clk_frac_ops = { static const struct clk_ops clk_frac_ops = {
.recalc_rate = clk_frac_recalc_rate, .recalc_rate = clk_frac_recalc_rate,
.round_rate = clk_frac_round_rate, .round_rate = clk_frac_round_rate,
.set_rate = clk_frac_set_rate, .set_rate = clk_frac_set_rate,
......
...@@ -105,7 +105,7 @@ static int clk_gpt_set_rate(struct clk_hw *hw, unsigned long drate, ...@@ -105,7 +105,7 @@ static int clk_gpt_set_rate(struct clk_hw *hw, unsigned long drate,
return 0; return 0;
} }
static struct clk_ops clk_gpt_ops = { static const struct clk_ops clk_gpt_ops = {
.recalc_rate = clk_gpt_recalc_rate, .recalc_rate = clk_gpt_recalc_rate,
.round_rate = clk_gpt_round_rate, .round_rate = clk_gpt_round_rate,
.set_rate = clk_gpt_set_rate, .set_rate = clk_gpt_set_rate,
......
...@@ -165,7 +165,7 @@ static int clk_pll_set_rate(struct clk_hw *hw, unsigned long drate, ...@@ -165,7 +165,7 @@ static int clk_pll_set_rate(struct clk_hw *hw, unsigned long drate,
return 0; return 0;
} }
static struct clk_ops clk_pll_ops = { static const struct clk_ops clk_pll_ops = {
.recalc_rate = clk_pll_recalc_rate, .recalc_rate = clk_pll_recalc_rate,
.round_rate = clk_pll_round_rate, .round_rate = clk_pll_round_rate,
.set_rate = clk_pll_set_rate, .set_rate = clk_pll_set_rate,
...@@ -266,7 +266,7 @@ static int clk_vco_set_rate(struct clk_hw *hw, unsigned long drate, ...@@ -266,7 +266,7 @@ static int clk_vco_set_rate(struct clk_hw *hw, unsigned long drate,
return 0; return 0;
} }
static struct clk_ops clk_vco_ops = { static const struct clk_ops clk_vco_ops = {
.recalc_rate = clk_vco_recalc_rate, .recalc_rate = clk_vco_recalc_rate,
.round_rate = clk_vco_round_rate, .round_rate = clk_vco_round_rate,
.set_rate = clk_vco_set_rate, .set_rate = clk_vco_set_rate,
......
...@@ -49,7 +49,7 @@ struct aux_rate_tbl { ...@@ -49,7 +49,7 @@ struct aux_rate_tbl {
struct clk_aux { struct clk_aux {
struct clk_hw hw; struct clk_hw hw;
void __iomem *reg; void __iomem *reg;
struct aux_clk_masks *masks; const struct aux_clk_masks *masks;
struct aux_rate_tbl *rtbl; struct aux_rate_tbl *rtbl;
u8 rtbl_cnt; u8 rtbl_cnt;
spinlock_t *lock; spinlock_t *lock;
...@@ -112,7 +112,7 @@ typedef unsigned long (*clk_calc_rate)(struct clk_hw *hw, unsigned long prate, ...@@ -112,7 +112,7 @@ typedef unsigned long (*clk_calc_rate)(struct clk_hw *hw, unsigned long prate,
/* clk register routines */ /* clk register routines */
struct clk *clk_register_aux(const char *aux_name, const char *gate_name, struct clk *clk_register_aux(const char *aux_name, const char *gate_name,
const char *parent_name, unsigned long flags, void __iomem *reg, const char *parent_name, unsigned long flags, void __iomem *reg,
struct aux_clk_masks *masks, struct aux_rate_tbl *rtbl, const struct aux_clk_masks *masks, struct aux_rate_tbl *rtbl,
u8 rtbl_cnt, spinlock_t *lock, struct clk **gate_clk); u8 rtbl_cnt, spinlock_t *lock, struct clk **gate_clk);
struct clk *clk_register_frac(const char *name, const char *parent_name, struct clk *clk_register_frac(const char *name, const char *parent_name,
unsigned long flags, void __iomem *reg, unsigned long flags, void __iomem *reg,
......
...@@ -284,7 +284,7 @@ static struct frac_rate_tbl clcd_rtbl[] = { ...@@ -284,7 +284,7 @@ static struct frac_rate_tbl clcd_rtbl[] = {
}; };
/* i2s prescaler1 masks */ /* i2s prescaler1 masks */
static struct aux_clk_masks i2s_prs1_masks = { static const struct aux_clk_masks i2s_prs1_masks = {
.eq_sel_mask = AUX_EQ_SEL_MASK, .eq_sel_mask = AUX_EQ_SEL_MASK,
.eq_sel_shift = SPEAR1310_I2S_PRS1_EQ_SEL_SHIFT, .eq_sel_shift = SPEAR1310_I2S_PRS1_EQ_SEL_SHIFT,
.eq1_mask = AUX_EQ1_SEL, .eq1_mask = AUX_EQ1_SEL,
......
...@@ -323,7 +323,7 @@ static struct frac_rate_tbl clcd_rtbl[] = { ...@@ -323,7 +323,7 @@ static struct frac_rate_tbl clcd_rtbl[] = {
}; };
/* i2s prescaler1 masks */ /* i2s prescaler1 masks */
static struct aux_clk_masks i2s_prs1_masks = { static const struct aux_clk_masks i2s_prs1_masks = {
.eq_sel_mask = AUX_EQ_SEL_MASK, .eq_sel_mask = AUX_EQ_SEL_MASK,
.eq_sel_shift = SPEAR1340_I2S_PRS1_EQ_SEL_SHIFT, .eq_sel_shift = SPEAR1340_I2S_PRS1_EQ_SEL_SHIFT,
.eq1_mask = AUX_EQ1_SEL, .eq1_mask = AUX_EQ1_SEL,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment