diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2013-11-22 05:30:05 -0500 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-01-03 16:27:38 -0500 |
commit | ae6e694ef566ed69a2537c80771a9031ec627494 (patch) | |
tree | 86fefdf50b9966e14eec25f6de162935195b0635 /drivers/clk/versatile/clk-impd1.c | |
parent | 8f6344faafb455e7481d87490d372c8337a0e32b (diff) |
clk: versatile: pass a name to ICST clock provider
When we have more than one of these clocks in a system (such as
on the IM-PD1) we need a mechanism to pass a name for the clock.
Refactor to add this as an argument.
Acked-by: Mike Turquette <mturquette@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/clk/versatile/clk-impd1.c')
-rw-r--r-- | drivers/clk/versatile/clk-impd1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clk/versatile/clk-impd1.c b/drivers/clk/versatile/clk-impd1.c index 369139af2a3b..b693a2bbf25a 100644 --- a/drivers/clk/versatile/clk-impd1.c +++ b/drivers/clk/versatile/clk-impd1.c | |||
@@ -66,8 +66,8 @@ void integrator_impd1_clk_init(void __iomem *base, unsigned int id) | |||
66 | } | 66 | } |
67 | imc = &impd1_clks[id]; | 67 | imc = &impd1_clks[id]; |
68 | 68 | ||
69 | clk = icst_clk_register(NULL, &impd1_icst1_desc, base); | 69 | clk = icst_clk_register(NULL, &impd1_icst1_desc, "icst1", base); |
70 | imc->vcoclk = clk; | 70 | imc->vco1clk = clk; |
71 | imc->clks[0] = clkdev_alloc(clk, NULL, "lm%x:01000", id); | 71 | imc->clks[0] = clkdev_alloc(clk, NULL, "lm%x:01000", id); |
72 | 72 | ||
73 | /* UART reference clock */ | 73 | /* UART reference clock */ |