diff options
Diffstat (limited to 'arch/mips/tx4938/common/irq.c')
-rw-r--r-- | arch/mips/tx4938/common/irq.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/mips/tx4938/common/irq.c b/arch/mips/tx4938/common/irq.c index 19c9ee9e3d0c..42e127683ae9 100644 --- a/arch/mips/tx4938/common/irq.c +++ b/arch/mips/tx4938/common/irq.c | |||
@@ -88,7 +88,8 @@ tx4938_irq_cp0_init(void) | |||
88 | int i; | 88 | int i; |
89 | 89 | ||
90 | for (i = TX4938_IRQ_CP0_BEG; i <= TX4938_IRQ_CP0_END; i++) | 90 | for (i = TX4938_IRQ_CP0_BEG; i <= TX4938_IRQ_CP0_END; i++) |
91 | set_irq_chip(i, &tx4938_irq_cp0_type); | 91 | set_irq_chip_and_handler(i, &tx4938_irq_cp0_type, |
92 | handle_level_irq); | ||
92 | } | 93 | } |
93 | 94 | ||
94 | static void | 95 | static void |
@@ -245,7 +246,8 @@ tx4938_irq_pic_init(void) | |||
245 | int i; | 246 | int i; |
246 | 247 | ||
247 | for (i = TX4938_IRQ_PIC_BEG; i <= TX4938_IRQ_PIC_END; i++) | 248 | for (i = TX4938_IRQ_PIC_BEG; i <= TX4938_IRQ_PIC_END; i++) |
248 | set_irq_chip(i, &tx4938_irq_pic_type); | 249 | set_irq_chip_and_handler(i, &tx4938_irq_pic_type, |
250 | handle_level_irq); | ||
249 | 251 | ||
250 | setup_irq(TX4938_IRQ_NEST_PIC_ON_CP0, &tx4938_irq_pic_action); | 252 | setup_irq(TX4938_IRQ_NEST_PIC_ON_CP0, &tx4938_irq_pic_action); |
251 | 253 | ||