From: Shawn Guo Date: Sun, 25 Sep 2011 07:25:43 +0000 (+0100) Subject: ARM: 7100/1: smp_scu: remove __init annotation from scu_enable() X-Git-Tag: next-20110927~103^2^2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=6919f67f9c8b48489d5240e0d3714bc6ab91ec81;p=karo-tx-linux.git ARM: 7100/1: smp_scu: remove __init annotation from scu_enable() 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 Signed-off-by: Russell King --- diff --git a/arch/arm/kernel/smp_scu.c b/arch/arm/kernel/smp_scu.c index 79ed5e7f204a..5b6d536cbfe3 100644 --- a/arch/arm/kernel/smp_scu.c +++ b/arch/arm/kernel/smp_scu.c @@ -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;