aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/pm34xx.c
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-04-26 16:06:50 +0800
committerShawn Guo <shawn.guo@linaro.org>2012-05-08 20:36:20 +0800
commitbbd707acee279a61177a604822db92e8164d00db (patch)
treefe806947f2082f469a7e39683d6e275d694ec666 /arch/arm/mach-omap2/pm34xx.c
parentARM: omap1: use machine specific hook for late init (diff)
downloadlinux-dev-bbd707acee279a61177a604822db92e8164d00db.tar.xz
linux-dev-bbd707acee279a61177a604822db92e8164d00db.zip
ARM: omap2: use machine specific hook for late init
Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/pm34xx.c')
-rw-r--r--arch/arm/mach-omap2/pm34xx.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c
index 703bd1099259..c769b888e2c8 100644
--- a/arch/arm/mach-omap2/pm34xx.c
+++ b/arch/arm/mach-omap2/pm34xx.c
@@ -699,15 +699,12 @@ static void __init pm_errata_configure(void)
}
}
-static int __init omap3_pm_init(void)
+int __init omap3_pm_init(void)
{
struct power_state *pwrst, *tmp;
struct clockdomain *neon_clkdm, *per_clkdm, *mpu_clkdm, *core_clkdm;
int ret;
- if (!cpu_is_omap34xx())
- return -ENODEV;
-
if (!omap3_has_io_chain_ctrl())
pr_warning("PM: no software I/O chain control; some wakeups may be lost\n");
@@ -808,5 +805,3 @@ err2:
err1:
return ret;
}
-
-late_initcall(omap3_pm_init);