ARM: shmobile: Use __init for APMU suspend init function
Magnus Damm
maintainerPATCH v2 3/7 ARM: shmobile: Use __init for APMU suspend init function
From: Magnus Damm <[email protected]>
The function shmobile_smp_apmu_suspend_init() should be put into the init section to not trigger section mismatch warnings.
Signed-off-by Magnus Damm <[email protected]>
---
arch/arm/mach-shmobile/platsmp-apmu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-shmobile/platsmp-apmu.c +1 -1
@@ -240,7 +240,7 @@ static int shmobile_smp_apmu_enter_suspereturn 0 ; } -void shmobile_smp_apmu_suspend_init (void ) +void __init shmobile_smp_apmu_suspend_init (void ) { shmobile_suspend_ops.enter = shmobile_smp_apmu_enter_suspend; }