ARM: mxs: change the lookup name for fec phy clock
authorShawn Guo <shawn.guo@linaro.org>
Sat, 28 Apr 2012 16:02:38 +0000 (00:02 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Tue, 8 May 2012 16:02:40 +0000 (00:02 +0800)
Change the fec phy clock lookup name to be more accurate.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/mach-mxs/clock-mx28.c
arch/arm/mach-mxs/mach-mx28evk.c

index cea29c99e2143c05d8ce878a9226604d16b346a8..5a832ada9441b76201004d4639b59e2ff5e66594 100644 (file)
@@ -624,7 +624,7 @@ static struct clk_lookup lookups[] = {
        _REGISTER_CLOCK("mxs-auart.3", NULL, uart_clk)
        _REGISTER_CLOCK("mxs-auart.4", NULL, uart_clk)
        _REGISTER_CLOCK("rtc", NULL, rtc_clk)
-       _REGISTER_CLOCK("pll2", NULL, pll2_clk)
+       _REGISTER_CLOCK("enet_out", NULL, pll2_clk)
        _REGISTER_CLOCK("mxs-dma-apbh", NULL, hbus_clk)
        _REGISTER_CLOCK("mxs-dma-apbx", NULL, xbus_clk)
        _REGISTER_CLOCK("mxs-mmc.0", NULL, ssp0_clk)
index e386c142f93c3f48286b5266e48fd56af788b63b..95969407413d86c529f631002a7b179e03dacdb6 100644 (file)
@@ -226,7 +226,7 @@ static void __init mx28evk_fec_reset(void)
        struct clk *clk;
 
        /* Enable fec phy clock */
-       clk = clk_get_sys("pll2", NULL);
+       clk = clk_get_sys("enet_out", NULL);
        if (!IS_ERR(clk))
                clk_prepare_enable(clk);
 
This page took 0.025017 seconds and 5 git commands to generate.