linux-mips
[Top] [All Lists]

[PATCH] Fix MSP71xx bpci interrupt handler return value

To: Ralf Baechle <ralf@linux-mips.org>, Ben Hutchings <ben@decadent.org.uk>, linux-mips@linux-mips.org, linux-kernel@vger.kernel.org
Subject: [PATCH] Fix MSP71xx bpci interrupt handler return value
From: Anoop P A <anoop.pa@gmail.com>
Date: Thu, 18 Nov 2010 16:02:50 +0530
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:content-type :date:message-id:mime-version:x-mailer:content-transfer-encoding; bh=RkF9Pb+EhzaCqM96K97fdZOnFUk+Uf97VaOx2J+PsXc=; b=rrppKAFxnPoLIg5dZbEa7OPe7ESTM3p/BCxrkR9RBXAr/QD5kX/cRihm5LWIvnO+8m a+d7Fo0Y6wg88yxOnKsMWvzqNGkHEb/55GsrUZ7GXahSzPjNi3mBH8GJD0qgkNs6xtJ1 dQNDcT8VXvjIJe3n+sPGboKRV5C6ZqbjUrH+o=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; b=lQaYczvhXqDwqhmAHI0NwdZgi5rLifXyYrZJ3d+vtM2fmODQKmeZ8OM9nGlYYNrlC6 GL8qkk+sB6TQxoNGovB/h+Ctz5G4+HSCFjf+fzV50arBdsWOAEcYysoMvYxX+8A+dt1s cOLkjmSuVuezbqlLyr3Wweic2Do6VhnNv66+0=
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Signed-off-by: Anoop P A <anoop.pa@gmail.com>
---
 arch/mips/pci/ops-pmcmsp.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/mips/pci/ops-pmcmsp.c b/arch/mips/pci/ops-pmcmsp.c
index b7c03d8..68798f8 100644
--- a/arch/mips/pci/ops-pmcmsp.c
+++ b/arch/mips/pci/ops-pmcmsp.c
@@ -308,7 +308,7 @@ static struct resource pci_mem_resource = {
  *  RETURNS:     PCIBIOS_SUCCESSFUL  - success
  *

****************************************************************************/
-static int bpci_interrupt(int irq, void *dev_id)
+static irqreturn_t bpci_interrupt(int irq, void *dev_id)
 {
        struct msp_pci_regs *preg = (void *)PCI_BASE_REG;
        unsigned int stat = preg->if_status;
@@ -326,7 +326,7 @@ static int bpci_interrupt(int irq, void *dev_id)
        /* write to clear all asserted interrupts */
        preg->if_status = stat;
 
-       return PCIBIOS_SUCCESSFUL;
+       return IRQ_HANDLED;
 }
 
 /*****************************************************************************
-- 
1.7.0.4




<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] Fix MSP71xx bpci interrupt handler return value, Anoop P A <=