From: Tony Lindgren <tony@atomide.com>
To: Jarkko Nikula <jarkko.nikula@nokia.com>
Cc: linux-omap@vger.kernel.org
Subject: Re: [PATCH] ARM: OMAP2: Fix build errors in pm24xx.c caused by recent PRM patches
Date: Wed, 11 Jun 2008 10:43:12 -0700 [thread overview]
Message-ID: <20080611174312.GY23796@atomide.com> (raw)
In-Reply-To: <1213179086-5687-1-git-send-email-jarkko.nikula@nokia.com>
Hi,
* Jarkko Nikula <jarkko.nikula@nokia.com> [080611 03:11]:
> Signed-off-by: Jarkko Nikula <jarkko.nikula@nokia.com>
> ---
> arch/arm/mach-omap2/pm24xx.c | 12 ++++++------
> 1 files changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/pm24xx.c b/arch/arm/mach-omap2/pm24xx.c
> index bcf3afe..69972a2 100644
> --- a/arch/arm/mach-omap2/pm24xx.c
> +++ b/arch/arm/mach-omap2/pm24xx.c
> @@ -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 */
Thanks, pushed. I guess I had Tero's debug uart patch still applied
when doing the test build last night.
Regards,
Tony
prev parent reply other threads:[~2008-06-11 17:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-11 10:11 [PATCH] ARM: OMAP2: Fix build errors in pm24xx.c caused by recent PRM patches Jarkko Nikula
2008-06-11 17:43 ` Tony Lindgren [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080611174312.GY23796@atomide.com \
--to=tony@atomide.com \
--cc=jarkko.nikula@nokia.com \
--cc=linux-omap@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox