diff options
author | Robert Jarzmik <robert.jarzmik@free.fr> | 2014-10-07 01:07:59 +0200 |
---|---|---|
committer | Michael Turquette <mturquette@linaro.org> | 2014-11-17 11:27:45 -0800 |
commit | 6f8a444aa6270e8d1aa4223ed856189108e1d401 (patch) | |
tree | 1942979e972fef6032347f7503dc00815033f896 /drivers/clk/pxa/clk-pxa.c | |
parent | 14dd5b01ae86760142157a5259b7f798eb840697 (diff) | |
download | lwn-6f8a444aa6270e8d1aa4223ed856189108e1d401.tar.gz lwn-6f8a444aa6270e8d1aa4223ed856189108e1d401.zip |
clk: pxa: keep clocks initialization separated per variant
Have each pxa variant (pxa25x, pxa27x, pxa3xx) have its own device-tree
clock initializing function, to be able to register its own specific
core clocks.
Apply that change specifically to pxa27x.
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Michael Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/clk/pxa/clk-pxa.c')
-rw-r--r-- | drivers/clk/pxa/clk-pxa.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/clk/pxa/clk-pxa.c b/drivers/clk/pxa/clk-pxa.c index 994fd6fc266f..4e834753ab09 100644 --- a/drivers/clk/pxa/clk-pxa.c +++ b/drivers/clk/pxa/clk-pxa.c @@ -102,8 +102,7 @@ int __init clk_pxa_cken_init(const struct desc_clk_cken *clks, int nb_clks) return 0; } -static void __init pxa_dt_clocks_init(struct device_node *np) +void __init clk_pxa_dt_common_init(struct device_node *np) { of_clk_add_provider(np, of_clk_src_onecell_get, &onecell_data); } -CLK_OF_DECLARE(pxa_clks, "marvell,pxa-clocks", pxa_dt_clocks_init); |