]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: shmobile: Use __init for APMU suspend init function
authorMagnus Damm <damm+renesas@opensource.se>
Fri, 6 Jun 2014 07:20:46 +0000 (16:20 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Thu, 26 Jun 2014 06:51:57 +0000 (15:51 +0900)
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 <damm+renesas@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/platsmp-apmu.c

index ce07eb9f5cd560fb8ea3dd1cbf9b8ca0d2b2ffb8..a05b16d882576ece6813e7d546b5554d8cb16bfb 100644 (file)
@@ -240,7 +240,7 @@ static int shmobile_smp_apmu_enter_suspend(suspend_state_t state)
        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;
 }