Skip to content

Commit

Permalink
MIPS: MSP: Fix MSP71xx bpci interrupt handler return value
Browse files Browse the repository at this point in the history
Signed-off-by: Anoop P A <anoop.pa@gmail.com>
To: Ben Hutchings <ben@decadent.org.uk>
To: linux-mips@linux-mips.org
To: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/1804/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Anoop P A authored and Ralf Baechle committed Mar 14, 2011
1 parent 39d30c1 commit a18059a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/mips/pci/ops-pmcmsp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
}

/*****************************************************************************
Expand Down

0 comments on commit a18059a

Please sign in to comment.