summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pnx4008/pm.c
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2012-05-11 00:49:56 -0700
committerOlof Johansson <olof@lixom.net>2012-05-11 00:49:56 -0700
commit80b9abf973462499c1a0110df47f62cc90361e2c (patch)
tree4e67448ba08df9a68713611b93e9f2635bf8bb26 /arch/arm/mach-pnx4008/pm.c
parentd48b97b403d23f6df0b990cee652bdf9a52337a3 (diff)
parenta010bc2b9e2ccc0b59057d4cc136d48a1f7cebcb (diff)
downloadop-kernel-dev-80b9abf973462499c1a0110df47f62cc90361e2c.zip
op-kernel-dev-80b9abf973462499c1a0110df47f62cc90361e2c.tar.gz
Merge branch 'clean/late_initcall_v2' of git://git.linaro.org/people/shawnguo/linux-2.6 into staging/cleanup
By Shawn Guo via Shawn Guo * 'clean/late_initcall_v2' of git://git.linaro.org/people/shawnguo/linux-2.6: ARM: ux500: use machine specific hook for late init ARM: tegra: use machine specific hook for late init ARM: shmobile: use machine specific hook for late init ARM: sa1100: use machine specific hook for late init ARM: s3c64xx: use machine specific hook for late init ARM: prima2: use machine specific hook for late init ARM: pnx4008: use machine specific hook for late init ARM: omap2: use machine specific hook for late init ARM: omap1: use machine specific hook for late init ARM: msm: use machine specific hook for late init ARM: imx: use machine specific hook for late init ARM: exynos: use machine specific hook for late init ARM: ep93xx: use machine specific hook for late init ARM: davinci: use machine specific hook for late init ARM: provide a late_initcall hook for platform initialization
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 f3e60a0..26f8d06 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);
OpenPOWER on IntegriCloud