diff options
author | Haojian Zhuang <haojian.zhuang@linaro.org> | 2013-12-24 10:31:13 +0100 |
---|---|---|
committer | Haojian Zhuang <haojian.zhuang@gmail.com> | 2014-03-19 08:23:32 +0100 |
commit | 16d1c8991cd6f25083ec43c15bed7ae30fbbe41e (patch) | |
tree | 92d80628d7fa8ed1df0c1eff90a8f03cc4c21100 /drivers/clk/hisilicon/clk.c | |
parent | Linus 3.14-rc1 (diff) | |
download | linux-16d1c8991cd6f25083ec43c15bed7ae30fbbe41e.tar.xz linux-16d1c8991cd6f25083ec43c15bed7ae30fbbe41e.zip |
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/hisilicon/clk.c')
-rw-r--r-- | drivers/clk/hisilicon/clk.c | 2 |
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, __func__, clks[i].name); continue; } + clk_table[clks[i].id] = clk; } } @@ -87,6 +88,7 @@ void __init hisi_clk_register_fixed_factor(struct hisi_fixed_factor_clock *clks, __func__, clks[i].name); continue; } + clk_table[clks[i].id] = clk; } } |