summaryrefslogtreecommitdiff
path: root/arch/arm/mach-pnx4008/pm.c
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-04-26 20:40:32 +0800
committerShawn Guo <shawn.guo@linaro.org>2012-05-08 20:36:21 +0800
commitcafa61907cb0aabbedf3c248f197130dc5332147 (patch)
tree308fc3efc6ce7b27d4934a119db378e0d51cea3d /arch/arm/mach-pnx4008/pm.c
parentbbd707acee279a61177a604822db92e8164d00db (diff)
downloadlwn-cafa61907cb0aabbedf3c248f197130dc5332147.tar.gz
lwn-cafa61907cb0aabbedf3c248f197130dc5332147.zip
ARM: pnx4008: 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-pnx4008/pm.c')
-rw-r--r--arch/arm/mach-pnx4008/pm.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/mach-pnx4008/pm.c b/arch/arm/mach-pnx4008/pm.c
index f3e60a049f98..26f8d06b142a 100644
--- a/arch/arm/mach-pnx4008/pm.c
+++ b/arch/arm/mach-pnx4008/pm.c
@@ -124,7 +124,7 @@ static const struct platform_suspend_ops pnx4008_pm_ops = {
.valid = pnx4008_pm_valid,
};
-static int __init pnx4008_pm_init(void)
+int __init pnx4008_pm_init(void)
{
u32 sram_size_to_allocate;
@@ -151,5 +151,3 @@ static int __init pnx4008_pm_init(void)
suspend_set_ops(&pnx4008_pm_ops);
return 0;
}
-
-late_initcall(pnx4008_pm_init);