aboutsummaryrefslogtreecommitdiff
path: root/drivers/clk/versatile/clk-realview.c
diff options
context:
space:
mode:
authorLinus Walleij2014-01-20 21:31:41 +0100
committerLinus Walleij2014-02-13 11:20:48 +0100
commitbf6edb4bb1fabd73bebcd0ae85cdeb14c5893f3b (patch)
treec6abfe8226ced0b44e3b57ba952be8888faaea41 /drivers/clk/versatile/clk-realview.c
parent09c978bc7bdcfc3db91801454273a4330e1933bf (diff)
clk: versatile: pass a parent to the ICST clock
As we want to actually define the parent frequency in the device tree for the ICST clocks, modify the clock registration function to take a parent argument. Cc: Mike Turquette <mturquette@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/clk/versatile/clk-realview.c')
-rw-r--r--drivers/clk/versatile/clk-realview.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clk/versatile/clk-realview.c b/drivers/clk/versatile/clk-realview.c
index 747e7b31117c..c8b523117fb7 100644
--- a/drivers/clk/versatile/clk-realview.c
+++ b/drivers/clk/versatile/clk-realview.c
@@ -85,10 +85,10 @@ void __init realview_clk_init(void __iomem *sysbase, bool is_pb1176)
/* ICST VCO clock */
if (is_pb1176)
clk = icst_clk_register(NULL, &realview_osc0_desc,
- "osc0", sysbase);
+ "osc0", NULL, sysbase);
else
clk = icst_clk_register(NULL, &realview_osc4_desc,
- "osc4", sysbase);
+ "osc4", NULL, sysbase);
clk_register_clkdev(clk, NULL, "dev:clcd");
clk_register_clkdev(clk, NULL, "issp:clcd");