diff options
author | Abhijit Pagare <abhijitpagare@ti.com> | 2010-01-26 22:12:53 -0500 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2010-01-26 22:12:53 -0500 |
commit | 3a759f09d7b9c6bbefffadd38fdc116125c49730 (patch) | |
tree | de412e894d25084929f309b4cc7078ef97227973 /arch/arm/mach-omap2/io.c | |
parent | 38900c27fbbbe97e16f448b8bc9cafc05af03460 (diff) |
ARM: OMAP4: PM: Refine the APIs to support OMAP4 features.
The proper Macros have to be used for platform specific calls and
some of the compiling requirements and init calls are taken care of.
Signed-off-by: Abhijit Pagare <abhijitpagare@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Benoit Cousson <b-cousson@ti.com>
Cc: Rajendra Nayak <rnayak@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/io.c')
-rw-r--r-- | arch/arm/mach-omap2/io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c index 5a7996402c53..aa237ff644d6 100644 --- a/arch/arm/mach-omap2/io.c +++ b/arch/arm/mach-omap2/io.c | |||
@@ -312,12 +312,12 @@ void __init omap2_init_common_hw(struct omap_sdrc_params *sdrc_cs0, | |||
312 | else if (cpu_is_omap34xx()) | 312 | else if (cpu_is_omap34xx()) |
313 | hwmods = omap34xx_hwmods; | 313 | hwmods = omap34xx_hwmods; |
314 | 314 | ||
315 | pwrdm_init(powerdomains_omap); | ||
315 | #ifndef CONFIG_ARCH_OMAP4 /* FIXME: Remove this once the clkdev is ready */ | 316 | #ifndef CONFIG_ARCH_OMAP4 /* FIXME: Remove this once the clkdev is ready */ |
316 | /* The OPP tables have to be registered before a clk init */ | 317 | /* The OPP tables have to be registered before a clk init */ |
317 | omap_hwmod_init(hwmods); | 318 | omap_hwmod_init(hwmods); |
318 | omap2_mux_init(); | 319 | omap2_mux_init(); |
319 | omap_pm_if_early_init(mpu_opps, dsp_opps, l3_opps); | 320 | omap_pm_if_early_init(mpu_opps, dsp_opps, l3_opps); |
320 | pwrdm_init(powerdomains_omap); | ||
321 | clkdm_init(clockdomains_omap, clkdm_pwrdm_autodeps); | 321 | clkdm_init(clockdomains_omap, clkdm_pwrdm_autodeps); |
322 | #endif | 322 | #endif |
323 | omap2_clk_init(); | 323 | omap2_clk_init(); |