aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/sh/clk-cpg.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/sh/clk-cpg.c')
-rw-r--r--drivers/sh/clk-cpg.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/sh/clk-cpg.c b/drivers/sh/clk-cpg.c
index 8c024b984ed8..392627be4544 100644
--- a/drivers/sh/clk-cpg.c
+++ b/drivers/sh/clk-cpg.c
@@ -180,7 +180,6 @@ static int __init sh_clk_div6_register_ops(struct clk *clks, int nr,
180 clkp = clks + k; 180 clkp = clks + k;
181 181
182 clkp->ops = ops; 182 clkp->ops = ops;
183 clkp->id = -1;
184 clkp->freq_table = freq_table + (k * freq_table_size); 183 clkp->freq_table = freq_table + (k * freq_table_size);
185 clkp->freq_table[nr_divs].frequency = CPUFREQ_TABLE_END; 184 clkp->freq_table[nr_divs].frequency = CPUFREQ_TABLE_END;
186 185
@@ -319,7 +318,6 @@ static int __init sh_clk_div4_register_ops(struct clk *clks, int nr,
319 clkp = clks + k; 318 clkp = clks + k;
320 319
321 clkp->ops = ops; 320 clkp->ops = ops;
322 clkp->id = -1;
323 clkp->priv = table; 321 clkp->priv = table;
324 322
325 clkp->freq_table = freq_table + (k * freq_table_size); 323 clkp->freq_table = freq_table + (k * freq_table_size);