summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-realview
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@stericsson.com>2010-07-30 16:36:25 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-07-31 13:07:07 +0100
commit06385e490996d885c93fa03ce6e5374e4674a5cb (patch)
treeb5acdcf7fbd36d5144e1a8eb9898b350bf32bfc8 /arch/arm/mach-realview
parent3126c7bc4106c572ef47e2c220df5a00e7973379 (diff)
downloadlinux-06385e490996d885c93fa03ce6e5374e4674a5cb.tar.bz2
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 <linus.walleij@stericsson.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-realview')
-rw-r--r--arch/arm/mach-realview/core.c2
1 files changed, 1 insertions, 1 deletions
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.