summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-prima2/pm.c
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-04-26 20:51:36 +0800
committerShawn Guo <shawn.guo@linaro.org>2012-05-08 20:36:22 +0800
commita4b4674e26da6b2c40f5b6485e165beb8f68d335 (patch)
tree7cd21196e22b24b3aa9c8b22e9e7fa6ad99faad4 /arch/arm/mach-prima2/pm.c
parentcafa61907cb0aabbedf3c248f197130dc5332147 (diff)
downloadblackbird-op-linux-a4b4674e26da6b2c40f5b6485e165beb8f68d335.tar.gz
blackbird-op-linux-a4b4674e26da6b2c40f5b6485e165beb8f68d335.zip
ARM: prima2: use machine specific hook for late init
Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Reviewed-by: Barry Song <baohua.song@csr.com>
Diffstat (limited to 'arch/arm/mach-prima2/pm.c')
-rw-r--r--arch/arm/mach-prima2/pm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-prima2/pm.c b/arch/arm/mach-prima2/pm.c
index 26ebb57719df..fb5a7910af35 100644
--- a/arch/arm/mach-prima2/pm.c
+++ b/arch/arm/mach-prima2/pm.c
@@ -85,12 +85,11 @@ static const struct platform_suspend_ops sirfsoc_pm_ops = {
.valid = suspend_valid_only_mem,
};
-static int __init sirfsoc_pm_init(void)
+int __init sirfsoc_pm_init(void)
{
suspend_set_ops(&sirfsoc_pm_ops);
return 0;
}
-late_initcall(sirfsoc_pm_init);
static const struct of_device_id pwrc_ids[] = {
{ .compatible = "sirf,prima2-pwrc" },
OpenPOWER on IntegriCloud