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>
This commit is contained in:
Haojian Zhuang
2013-12-24 17:31:13 +08:00
committed by Haojian Zhuang
parent 38dbfb59d1
commit 16d1c8991c

View File

@@ -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;
}
}