aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/momentum/ocelot_c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/momentum/ocelot_c')
-rw-r--r--arch/mips/momentum/ocelot_c/cpci-irq.c2
-rw-r--r--arch/mips/momentum/ocelot_c/uart-irq.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/momentum/ocelot_c/cpci-irq.c b/arch/mips/momentum/ocelot_c/cpci-irq.c
index 7723f0998944..e5a4a0a8a7f0 100644
--- a/arch/mips/momentum/ocelot_c/cpci-irq.c
+++ b/arch/mips/momentum/ocelot_c/cpci-irq.c
@@ -106,5 +106,5 @@ void cpci_irq_init(void)
106 int i; 106 int i;
107 107
108 for (i = CPCI_IRQ_BASE; i < (CPCI_IRQ_BASE + 8); i++) 108 for (i = CPCI_IRQ_BASE; i < (CPCI_IRQ_BASE + 8); i++)
109 set_irq_chip(i, &cpci_irq_type); 109 set_irq_chip_and_handler(i, &cpci_irq_type, handle_level_irq);
110} 110}
diff --git a/arch/mips/momentum/ocelot_c/uart-irq.c b/arch/mips/momentum/ocelot_c/uart-irq.c
index 72faf81b36cc..0029f0008dea 100644
--- a/arch/mips/momentum/ocelot_c/uart-irq.c
+++ b/arch/mips/momentum/ocelot_c/uart-irq.c
@@ -96,6 +96,6 @@ struct irq_chip uart_irq_type = {
96 96
97void uart_irq_init(void) 97void uart_irq_init(void)
98{ 98{
99 set_irq_chip(80, &uart_irq_type); 99 set_irq_chip_and_handler(80, &uart_irq_type, handle_level_irq);
100 set_irq_chip(81, &uart_irq_type); 100 set_irq_chip_and_handler(81, &uart_irq_type, handle_level_irq);
101} 101}