ARM: clk-imx35: fix name for ckil clk
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Thu, 8 Sep 2016 09:30:21 +0000 (11:30 +0200)
committerStephen Boyd <sboyd@codeaurora.org>
Wed, 14 Sep 2016 18:27:49 +0000 (11:27 -0700)
This fixes
[    0.000000] i.MX clk 82: register failed with -17
because the name is duplicated.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Fixes: 3713e3f5e927 ("clk: imx35: define two clocks for rtc")
Acked-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/imx/clk-imx35.c

index b0978d3b83e2dcdeb898dcf7233965dc9382b5c6..d302ed3b8225984498876724114cd415b514eb1d 100644 (file)
@@ -115,7 +115,7 @@ static void __init _mx35_clocks_init(void)
        }
 
        clk[ckih] = imx_clk_fixed("ckih", 24000000);
-       clk[ckil] = imx_clk_fixed("ckih", 32768);
+       clk[ckil] = imx_clk_fixed("ckil", 32768);
        clk[mpll] = imx_clk_pllv1(IMX_PLLV1_IMX35, "mpll", "ckih", base + MX35_CCM_MPCTL);
        clk[ppll] = imx_clk_pllv1(IMX_PLLV1_IMX35, "ppll", "ckih", base + MX35_CCM_PPCTL);