Commit 4824f20c authored by Florian Fainelli's avatar Florian Fainelli Committed by Ralf Baechle

MIPS: MSP71xx: fix build failures on msp_irq_slp.c

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: default avatarFlorian Fainelli <florian@openwrt.org>
Acked-by: default avatarShane McDonald <mcdonald.shane@gmail.com>
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 0e66fff8
...@@ -45,7 +45,7 @@ static inline void mask_msp_slp_irq(unsigned int irq) ...@@ -45,7 +45,7 @@ static inline void mask_msp_slp_irq(unsigned int irq)
*/ */
static inline void ack_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 * only really necessary for 18, 16-14 and sometimes 3:0 (since
...@@ -79,7 +79,7 @@ void __init msp_slp_irq_init(void) ...@@ -79,7 +79,7 @@ void __init msp_slp_irq_init(void)
/* initialize all the IRQ descriptors */ /* initialize all the IRQ descriptors */
for (i = MSP_SLP_INTBASE; i < MSP_PER_INTBASE + 32; i++) 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); handle_level_irq);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment