aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clk
diff options
context:
space:
mode:
authorHaojian Zhuang <haojian.zhuang@linaro.org>2013-12-24 04:31:13 -0500
committerHaojian Zhuang <haojian.zhuang@gmail.com>2014-03-19 03:23:32 -0400
commit16d1c8991cd6f25083ec43c15bed7ae30fbbe41e (patch)
tree92d80628d7fa8ed1df0c1eff90a8f03cc4c21100 /drivers/clk
parent38dbfb59d1175ef458d006556061adeaa8751b72 (diff)
clk: hisi: assign missing clk to table
The fixed rate and fixed factor clock isn't registered to clk table. Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
Diffstat (limited to 'drivers/clk')
-rw-r--r--drivers/clk/hisilicon/clk.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/clk/hisilicon/clk.c b/drivers/clk/hisilicon/clk.c
index a3a7152c92d9..18fc21f0ea15 100644
--- a/drivers/clk/hisilicon/clk.c
+++ b/drivers/clk/hisilicon/clk.c
@@ -68,6 +68,7 @@ void __init hisi_clk_register_fixed_rate(struct hisi_fixed_rate_clock *clks,
68 __func__, clks[i].name); 68 __func__, clks[i].name);
69 continue; 69 continue;
70 } 70 }
71 clk_table[clks[i].id] = clk;
71 } 72 }
72} 73}
73 74
@@ -87,6 +88,7 @@ void __init hisi_clk_register_fixed_factor(struct hisi_fixed_factor_clock *clks,
87 __func__, clks[i].name); 88 __func__, clks[i].name);
88 continue; 89 continue;
89 } 90 }
91 clk_table[clks[i].id] = clk;
90 } 92 }
91} 93}
92 94