ARM: 6278/2: fix regression in RealView after the introduction of pclk
authorLinus Walleij <linus.walleij@stericsson.com>
Fri, 30 Jul 2010 15:36:25 +0000 (16:36 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 31 Jul 2010 12:07:07 +0000 (13:07 +0100)
The patch to add the apb_pclk to the AMBA/PrimeCell bus broke
RealView, since the clockdevice is not registered at probe() time.
This moves clock initialization to a core_initcall()

[rmk:moved before the problematical commit to avoid bisect problems]

Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-realview/core.c

index 4aba15f7f812e262ee68655d4bc7b1a9ce503e1c..f78be14f17cb005085afd18db472f038a3515aa4 100644 (file)
@@ -347,7 +347,7 @@ static int __init clk_init(void)
 
        return 0;
 }
-arch_initcall(clk_init);
+core_initcall(clk_init);
 
 /*
  * CLCD support.