ARM: 7100/1: smp_scu: remove __init annotation from scu_enable()
authorShawn Guo <shawn.guo@linaro.org>
Sun, 25 Sep 2011 07:25:43 +0000 (08:25 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 17 Oct 2011 08:02:43 +0000 (09:02 +0100)
When Cortex-A9 MPCore resumes from Dormant or Shutdown modes,
SCU needs to be re-enabled.  This patch removes __init annotation
from function scu_enable(), so that platform resume procedure can
call it to re-enable SCU.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/smp_scu.c

index 79ed5e7f204a9a32fb0ac11f8cc9ee840438dc70..5b6d536cbfe327a2e2020c19eb3b9a561b3f2a81 100644 (file)
@@ -33,7 +33,7 @@ unsigned int __init scu_get_core_count(void __iomem *scu_base)
 /*
  * Enable the SCU
  */
-void __init scu_enable(void __iomem *scu_base)
+void scu_enable(void __iomem *scu_base)
 {
        u32 scu_ctrl;