Skip to content

Commit

Permalink
MIPS: MSP71xx: fix build failures on msp_irq_slp.c
Browse files Browse the repository at this point in the history
Trying to build MSP4200 VoIP defconfig also fails on msp_irq_slp.c with a
non-existing reference to mask_slp_irq, which is in turn mask_msp_slp_irq.
Passed that, we will also miss a comma when calling
set_irq_chip_and_handler. This patch fixes both issues.

Signed-off-by: Florian Fainelli <[email protected]>
Acked-by: Shane McDonald <[email protected]>
Signed-off-by: Ralf Baechle <[email protected]>
  • Loading branch information
ffainelli authored and ralfbaechle committed Aug 3, 2009
1 parent 0e66fff commit 4824f20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/mips/pmc-sierra/msp71xx/msp_irq_slp.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ static inline void mask_msp_slp_irq(unsigned int irq)
*/
static inline void ack_msp_slp_irq(unsigned int irq)
{
mask_slp_irq(irq);
mask_msp_slp_irq(irq);

/*
* only really necessary for 18, 16-14 and sometimes 3:0 (since
Expand Down Expand Up @@ -79,7 +79,7 @@ void __init msp_slp_irq_init(void)

/* initialize all the IRQ descriptors */
for (i = MSP_SLP_INTBASE; i < MSP_PER_INTBASE + 32; i++)
set_irq_chip_and_handler(i, &msp_slp_irq_controller
set_irq_chip_and_handler(i, &msp_slp_irq_controller,
handle_level_irq);
}

Expand Down

0 comments on commit 4824f20

Please sign in to comment.