summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-sa1100/pm.c
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-04-26 15:22:45 +0200
committerShawn Guo <shawn.guo@linaro.org>2012-05-08 14:36:34 +0200
commit7fea1ba58e61c17fb59dfc50c408945f307addc6 (patch)
tree2403b16b9ea948964dfd3b2df8fb13eb0b84e652 /arch/arm/mach-sa1100/pm.c
parentARM: s3c64xx: use machine specific hook for late init (diff)
downloadlinux-7fea1ba58e61c17fb59dfc50c408945f307addc6.tar.xz
linux-7fea1ba58e61c17fb59dfc50c408945f307addc6.zip
ARM: sa1100: use machine specific hook for late init
Cc: Russell King <linux@arm.linux.org.uk> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/mach-sa1100/pm.c')
-rw-r--r--arch/arm/mach-sa1100/pm.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/mach-sa1100/pm.c b/arch/arm/mach-sa1100/pm.c
index 2fa499ec6afe..690cf0ce5c0c 100644
--- a/arch/arm/mach-sa1100/pm.c
+++ b/arch/arm/mach-sa1100/pm.c
@@ -117,10 +117,8 @@ static const struct platform_suspend_ops sa11x0_pm_ops = {
.valid = suspend_valid_only_mem,
};
-static int __init sa11x0_pm_init(void)
+int __init sa11x0_pm_init(void)
{
suspend_set_ops(&sa11x0_pm_ops);
return 0;
}
-
-late_initcall(sa11x0_pm_init);