summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2012-01-24 10:45:43 +0900
committerPaul Mundt <lethal@linux-sh.org>2012-01-24 10:45:43 +0900
commit75ed4da4810d8f8f95aefa62242926ed31862fe8 (patch)
treea97de63ae93490e9d9587a517ef204640b9f5d2c
parent66dae316dd2941cad098e6674810fdc3f4b2e275 (diff)
parent64dea57588f49736c2a7778292f3967c7984ab94 (diff)
Merge branch 'sh/clkfwk' into sh-latest
-rw-r--r--drivers/sh/clk/cpg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sh/clk/cpg.c b/drivers/sh/clk/cpg.c
index 45fee368b092..92d314a73f69 100644
--- a/drivers/sh/clk/cpg.c
+++ b/drivers/sh/clk/cpg.c
@@ -190,7 +190,7 @@ static int __init sh_clk_init_parent(struct clk *clk)
return -EINVAL;
}
- clk->parent = clk->parent_table[val];
+ clk_reparent(clk, clk->parent_table[val]);
if (!clk->parent) {
pr_err("sh_clk_init_parent: unable to set parent");
return -EINVAL;