diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2013-11-22 11:30:05 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-01-03 22:27:38 +0100 |
commit | ae6e694ef566ed69a2537c80771a9031ec627494 (patch) | |
tree | 86fefdf50b9966e14eec25f6de162935195b0635 /drivers/clk/versatile/clk-impd1.c | |
parent | ARM: integrator: pass parent IRQ to the SIC (diff) | |
download | linux-ae6e694ef566ed69a2537c80771a9031ec627494.tar.xz linux-ae6e694ef566ed69a2537c80771a9031ec627494.zip |
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) } imc = &impd1_clks[id]; - clk = icst_clk_register(NULL, &impd1_icst1_desc, base); - imc->vcoclk = clk; + clk = icst_clk_register(NULL, &impd1_icst1_desc, "icst1", base); + imc->vco1clk = clk; imc->clks[0] = clkdev_alloc(clk, NULL, "lm%x:01000", id); /* UART reference clock */ |