diff options
author | Abhijit Pagare <abhijitpagare@ti.com> | 2010-01-26 22:12:51 -0500 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2010-01-26 22:12:51 -0500 |
commit | 3790300903e6a98ce5f5391f4d435959266f79e7 (patch) | |
tree | cd78bf9d180466df0cd5b2f0c5b5c46d6471a54e /arch/arm/mach-omap2/clockdomain.c | |
parent | c6a6e6e203ee9a34fa53f773272f21d48b4e3454 (diff) |
ARM: OMAP4: PM: OMAP4 Power Domain Porting Related Clean-up.
Module offsets were same for OMAP2 and OMAP3 while they differ for OMAP4.
Hence we need different macros for identifying platform specific offsets.
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/clockdomain.c')
-rw-r--r-- | arch/arm/mach-omap2/clockdomain.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/clockdomain.c b/arch/arm/mach-omap2/clockdomain.c index dd285f001467..50c8cd7c7126 100644 --- a/arch/arm/mach-omap2/clockdomain.c +++ b/arch/arm/mach-omap2/clockdomain.c | |||
@@ -413,7 +413,7 @@ int omap2_clkdm_sleep(struct clockdomain *clkdm) | |||
413 | if (cpu_is_omap24xx()) { | 413 | if (cpu_is_omap24xx()) { |
414 | 414 | ||
415 | cm_set_mod_reg_bits(OMAP24XX_FORCESTATE, | 415 | cm_set_mod_reg_bits(OMAP24XX_FORCESTATE, |
416 | clkdm->pwrdm.ptr->prcm_offs, PM_PWSTCTRL); | 416 | clkdm->pwrdm.ptr->prcm_offs, OMAP2_PM_PWSTCTRL); |
417 | 417 | ||
418 | } else if (cpu_is_omap34xx()) { | 418 | } else if (cpu_is_omap34xx()) { |
419 | 419 | ||
@@ -455,7 +455,7 @@ int omap2_clkdm_wakeup(struct clockdomain *clkdm) | |||
455 | if (cpu_is_omap24xx()) { | 455 | if (cpu_is_omap24xx()) { |
456 | 456 | ||
457 | cm_clear_mod_reg_bits(OMAP24XX_FORCESTATE, | 457 | cm_clear_mod_reg_bits(OMAP24XX_FORCESTATE, |
458 | clkdm->pwrdm.ptr->prcm_offs, PM_PWSTCTRL); | 458 | clkdm->pwrdm.ptr->prcm_offs, OMAP2_PM_PWSTCTRL); |
459 | 459 | ||
460 | } else if (cpu_is_omap34xx()) { | 460 | } else if (cpu_is_omap34xx()) { |
461 | 461 | ||