From: Linus Walleij Date: Fri, 30 Jul 2010 15:36:25 +0000 (+0100) Subject: ARM: 6278/2: fix regression in RealView after the introduction of pclk X-Git-Tag: firefly_0821_release~9833^2~1326^2~2^9~1 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=06385e490996d885c93fa03ce6e5374e4674a5cb;p=firefly-linux-kernel-4.4.55.git ARM: 6278/2: fix regression in RealView after the introduction of pclk 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 Signed-off-by: Russell King --- diff --git a/arch/arm/mach-realview/core.c b/arch/arm/mach-realview/core.c index 4aba15f7f812..f78be14f17cb 100644 --- a/arch/arm/mach-realview/core.c +++ b/arch/arm/mach-realview/core.c @@ -347,7 +347,7 @@ static int __init clk_init(void) return 0; } -arch_initcall(clk_init); +core_initcall(clk_init); /* * CLCD support.