public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Kevin Hilman <khilman@deeprootsystems.com>
To: "Gadiyar, Anand" <gadiyar@ti.com>
Cc: linux-omap <linux-omap@vger.kernel.org>
Subject: Re: 3430SDP: Build break in pm-2.6.29 branch
Date: Thu, 13 Aug 2009 07:25:15 -0700	[thread overview]
Message-ID: <87skfviyes.fsf@deeprootsystems.com> (raw)
In-Reply-To: <5A47E75E594F054BAF48C5E4FC4B92AB0306050762@dbde02.ent.ti.com> (Anand Gadiyar's message of "Thu\, 13 Aug 2009 11\:10\:22 +0530")

"Gadiyar, Anand" <gadiyar@ti.com> writes:

> With the omap_3430sdp_pm_defconfig, I get the following build break
>
>   CC      arch/arm/mach-omap2/pm34xx.o
> arch/arm/mach-omap2/pm34xx.c: In function 'prcm_interrupt_handler':
> arch/arm/mach-omap2/pm34xx.c:286: error: 'OMAP3_PRM_IRQSTATUS_MPU_OFFSET' undeclared (first use in this function)
> arch/arm/mach-omap2/pm34xx.c:286: error: (Each undeclared identifier is reported only once
> arch/arm/mach-omap2/pm34xx.c:286: error: for each function it appears in.)
> make[1]: *** [arch/arm/mach-omap2/pm34xx.o] Error 1
> make: *** [arch/arm/mach-omap2] Error 2

Thanks for the report.  This is a problem with my backport of Jon
Hunter's PRCM IRQ rework.

Just pushed the fix below to pm-2.6.29.

Kevin


commit e63cf0710a4fb639d91d3e8b05aa485fbfa381b3
Author: Kevin Hilman <khilman@deeprootsystems.com>
Date:   Thu Aug 13 07:21:15 2009 -0700

    OMAP3: PM: PRCM IRQ rework: fix backport error.
    
    Reported-by: Anand Gadiyar <gadiyar@ti.com>
    Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>

diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c
index 1fee053..a064605 100644
--- a/arch/arm/mach-omap2/pm34xx.c
+++ b/arch/arm/mach-omap2/pm34xx.c
@@ -283,7 +283,7 @@ static irqreturn_t prcm_interrupt_handler (int irq, void *dev_id)
 
 	do {
 		irqstatus_mpu = prm_read_mod_reg(OCP_MOD,
-					OMAP3_PRM_IRQSTATUS_MPU_OFFSET);
+					OMAP2_PRM_IRQSTATUS_MPU_OFFSET);
 
 		if (irqstatus_mpu & (OMAP3430_WKUP_ST | OMAP3430_IO_ST)) {
 			c = _prcm_int_handle_wakeup();
@@ -301,9 +301,9 @@ static irqreturn_t prcm_interrupt_handler (int irq, void *dev_id)
 		}
 
 		prm_write_mod_reg(irqstatus_mpu, OCP_MOD,
-					OMAP3_PRM_IRQSTATUS_MPU_OFFSET);
+					OMAP2_PRM_IRQSTATUS_MPU_OFFSET);
 
-	} while (prm_read_mod_reg(OCP_MOD, OMAP3_PRM_IRQSTATUS_MPU_OFFSET));
+	} while (prm_read_mod_reg(OCP_MOD, OMAP2_PRM_IRQSTATUS_MPU_OFFSET));
 
 	return IRQ_HANDLED;
 }

      reply	other threads:[~2009-08-13 14:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-13  5:40 3430SDP: Build break in pm-2.6.29 branch Gadiyar, Anand
2009-08-13 14:25 ` Kevin Hilman [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=87skfviyes.fsf@deeprootsystems.com \
    --to=khilman@deeprootsystems.com \
    --cc=gadiyar@ti.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