]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP2: Fix build errors in pm24xx.c caused by recent PRM patches
authorJarkko Nikula <jarkko.nikula@nokia.com>
Wed, 11 Jun 2008 10:11:26 +0000 (13:11 +0300)
committerTony Lindgren <tony@atomide.com>
Wed, 11 Jun 2008 17:41:56 +0000 (10:41 -0700)
Signed-off-by: Jarkko Nikula <jarkko.nikula@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/pm24xx.c

index bcf3afeea9eb4d73065cd59cb9e4723e8fd62af7..69972a2f988af795b2034412611823711a3d138f 100644 (file)
@@ -146,16 +146,16 @@ no_sleep:
        prm_clear_mod_reg_bits(0x4 | 0x1, WKUP_MOD, PM_WKST);
 
        /* MPU domain wake events */
-       l = prm_read_mod_reg(OCP_MOD, OMAP24XX_PRCM_IRQSTATUS_MPU_OFFSET);
+       l = prm_read_mod_reg(OCP_MOD, OMAP2_PRM_IRQSTATUS_MPU_OFFSET);
        if (l & 0x01)
                prm_write_mod_reg(0x01, OCP_MOD,
-                               OMAP24XX_PRCM_IRQSTATUS_MPU_OFFSET);
+                               OMAP2_PRM_IRQSTATUS_MPU_OFFSET);
        if (l & 0x20)
                prm_write_mod_reg(0x20, OCP_MOD,
-                               OMAP24XX_PRCM_IRQSTATUS_MPU_OFFSET);
+                               OMAP2_PRM_IRQSTATUS_MPU_OFFSET);
 
        /* Mask future PRCM-to-MPU interrupts */
-       prm_write_mod_reg(0x0, OCP_MOD, OMAP24XX_PRCM_IRQSTATUS_MPU_OFFSET);
+       prm_write_mod_reg(0x0, OCP_MOD, OMAP2_PRM_IRQSTATUS_MPU_OFFSET);
 }
 
 static int omap2_i2c_active(void)
@@ -349,7 +349,7 @@ static void __init prcm_setup_regs(void)
 
        /* Enable autoidle */
        prm_write_mod_reg(OMAP24XX_AUTOIDLE, OCP_MOD,
-                               OMAP24XX_PRCM_SYSCONFIG_OFFSET);
+                               OMAP24XX_PRM_SYSCONFIG_OFFSET);
 
        /* Set all domain wakeup dependencies */
        prm_write_mod_reg(OMAP_EN_WKUP_MASK, MPU_MOD, PM_WKDEP);
@@ -478,7 +478,7 @@ int __init omap2_pm_init(void)
        u32 l;
 
        printk(KERN_INFO "Power Management for OMAP2 initializing\n");
-       l = prm_read_mod_reg(OCP_MOD, OMAP24XX_PRCM_REVISION_OFFSET);
+       l = prm_read_mod_reg(OCP_MOD, OMAP24XX_PRM_REVISION_OFFSET);
        printk(KERN_INFO "PRCM revision %d.%d\n", (l >> 4) & 0x0f, l & 0x0f);
 
        /* Look up important powerdomains, clockdomains */