Skip to contentSkip to conversation

ARM: shmobile: Use __init for APMU suspend init function

PATCH In review Magnus Damm 1 participant 1 message Jun 6, 2014

Subsystems (4)
lore
Share & tools
lore

Magnus Damm

author maintainer
#0 lore raw

PATCH 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.

---

 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_suspe
 	return 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;
 }