* [PATCH 05/08] ARM: shmobile: Use __init for APMU suspend init function
@ 2014-06-05 5:15 Magnus Damm
0 siblings, 0 replies; only message in thread
From: Magnus Damm @ 2014-06-05 5:15 UTC (permalink / raw)
To: linux-sh
From: Magnus Damm <damm+renesas@opensource.se>
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>
---
arch/arm/mach-shmobile/platsmp-apmu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- 0003/arch/arm/mach-shmobile/platsmp-apmu.c
+++ work/arch/arm/mach-shmobile/platsmp-apmu.c 2014-06-05 12:51:33.000000000 +0900
@@ -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;
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-06-05 5:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-05 5:15 [PATCH 05/08] ARM: shmobile: Use __init for APMU suspend init function Magnus Damm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).