diff options
author | Paul Mundt <lethal@linux-sh.org> | 2012-01-09 23:31:09 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2012-01-09 23:31:09 -0500 |
commit | 4414d38a8845b229a8e7ea0105fe1bb263b65993 (patch) | |
tree | a0a64a3af9db24acc70ee564b17854c9c6a0e552 /drivers/sh | |
parent | 7afb4e9a92e42e66124b7043405bbca82680aa96 (diff) | |
parent | 7784f4da1a1b8b2519e008551fc4f69713451f89 (diff) |
Merge branch 'common/clkfwk' into sh-latest
Diffstat (limited to 'drivers/sh')
-rw-r--r-- | drivers/sh/clk/cpg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/sh/clk/cpg.c b/drivers/sh/clk/cpg.c index a0d8faa40baa..45fee368b092 100644 --- a/drivers/sh/clk/cpg.c +++ b/drivers/sh/clk/cpg.c | |||
@@ -222,11 +222,11 @@ static int __init sh_clk_div6_register_ops(struct clk *clks, int nr, | |||
222 | clkp->ops = ops; | 222 | clkp->ops = ops; |
223 | clkp->freq_table = freq_table + (k * freq_table_size); | 223 | clkp->freq_table = freq_table + (k * freq_table_size); |
224 | clkp->freq_table[nr_divs].frequency = CPUFREQ_TABLE_END; | 224 | clkp->freq_table[nr_divs].frequency = CPUFREQ_TABLE_END; |
225 | ret = sh_clk_init_parent(clkp); | 225 | ret = clk_register(clkp); |
226 | if (ret < 0) | 226 | if (ret < 0) |
227 | break; | 227 | break; |
228 | 228 | ||
229 | ret = clk_register(clkp); | 229 | ret = sh_clk_init_parent(clkp); |
230 | } | 230 | } |
231 | 231 | ||
232 | return ret; | 232 | return ret; |