diff options
Diffstat (limited to 'arch/mips/sgi-ip32/ip32-irq.c')
-rw-r--r-- | arch/mips/sgi-ip32/ip32-irq.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/arch/mips/sgi-ip32/ip32-irq.c b/arch/mips/sgi-ip32/ip32-irq.c index 3b7e74b6222e..c64a820373de 100644 --- a/arch/mips/sgi-ip32/ip32-irq.c +++ b/arch/mips/sgi-ip32/ip32-irq.c | |||
@@ -160,7 +160,7 @@ static void end_cpu_irq(unsigned int irq) | |||
160 | #define shutdown_cpu_irq disable_cpu_irq | 160 | #define shutdown_cpu_irq disable_cpu_irq |
161 | #define mask_and_ack_cpu_irq disable_cpu_irq | 161 | #define mask_and_ack_cpu_irq disable_cpu_irq |
162 | 162 | ||
163 | static struct hw_interrupt_type ip32_cpu_interrupt = { | 163 | static struct irq_chip ip32_cpu_interrupt = { |
164 | .typename = "IP32 CPU", | 164 | .typename = "IP32 CPU", |
165 | .startup = startup_cpu_irq, | 165 | .startup = startup_cpu_irq, |
166 | .shutdown = shutdown_cpu_irq, | 166 | .shutdown = shutdown_cpu_irq, |
@@ -230,7 +230,7 @@ static void end_crime_irq(unsigned int irq) | |||
230 | 230 | ||
231 | #define shutdown_crime_irq disable_crime_irq | 231 | #define shutdown_crime_irq disable_crime_irq |
232 | 232 | ||
233 | static struct hw_interrupt_type ip32_crime_interrupt = { | 233 | static struct irq_chip ip32_crime_interrupt = { |
234 | .typename = "IP32 CRIME", | 234 | .typename = "IP32 CRIME", |
235 | .startup = startup_crime_irq, | 235 | .startup = startup_crime_irq, |
236 | .shutdown = shutdown_crime_irq, | 236 | .shutdown = shutdown_crime_irq, |
@@ -289,7 +289,7 @@ static void end_macepci_irq(unsigned int irq) | |||
289 | #define shutdown_macepci_irq disable_macepci_irq | 289 | #define shutdown_macepci_irq disable_macepci_irq |
290 | #define mask_and_ack_macepci_irq disable_macepci_irq | 290 | #define mask_and_ack_macepci_irq disable_macepci_irq |
291 | 291 | ||
292 | static struct hw_interrupt_type ip32_macepci_interrupt = { | 292 | static struct irq_chip ip32_macepci_interrupt = { |
293 | .typename = "IP32 MACE PCI", | 293 | .typename = "IP32 MACE PCI", |
294 | .startup = startup_macepci_irq, | 294 | .startup = startup_macepci_irq, |
295 | .shutdown = shutdown_macepci_irq, | 295 | .shutdown = shutdown_macepci_irq, |
@@ -316,9 +316,9 @@ static struct hw_interrupt_type ip32_macepci_interrupt = { | |||
316 | MACEISA_KEYB_POLL_INT | \ | 316 | MACEISA_KEYB_POLL_INT | \ |
317 | MACEISA_MOUSE_INT | \ | 317 | MACEISA_MOUSE_INT | \ |
318 | MACEISA_MOUSE_POLL_INT | \ | 318 | MACEISA_MOUSE_POLL_INT | \ |
319 | MACEIIRQF_TIMER0_INT | \ | 319 | MACEISA_TIMER0_INT | \ |
320 | MACEIIRQF_TIMER1_INT | \ | 320 | MACEISA_TIMER1_INT | \ |
321 | MACEIIRQF_TIMER2_INT) | 321 | MACEISA_TIMER2_INT) |
322 | #define MACEISA_SUPERIO_INT (MACEISA_PARALLEL_INT | \ | 322 | #define MACEISA_SUPERIO_INT (MACEISA_PARALLEL_INT | \ |
323 | MACEISA_PAR_CTXA_INT | \ | 323 | MACEISA_PAR_CTXA_INT | \ |
324 | MACEISA_PAR_CTXB_INT | \ | 324 | MACEISA_PAR_CTXB_INT | \ |
@@ -349,7 +349,7 @@ static void enable_maceisa_irq (unsigned int irq) | |||
349 | case MACEISA_AUDIO_SW_IRQ ... MACEISA_AUDIO3_MERR_IRQ: | 349 | case MACEISA_AUDIO_SW_IRQ ... MACEISA_AUDIO3_MERR_IRQ: |
350 | crime_int = MACE_AUDIO_INT; | 350 | crime_int = MACE_AUDIO_INT; |
351 | break; | 351 | break; |
352 | case MACEISA_RTC_IRQ ... MACEIIRQF_TIMER2_IRQ: | 352 | case MACEISA_RTC_IRQ ... MACEISA_TIMER2_IRQ: |
353 | crime_int = MACE_MISC_INT; | 353 | crime_int = MACE_MISC_INT; |
354 | break; | 354 | break; |
355 | case MACEISA_PARALLEL_IRQ ... MACEISA_SERIAL2_RDMAOR_IRQ: | 355 | case MACEISA_PARALLEL_IRQ ... MACEISA_SERIAL2_RDMAOR_IRQ: |
@@ -419,7 +419,7 @@ static void end_maceisa_irq(unsigned irq) | |||
419 | 419 | ||
420 | #define shutdown_maceisa_irq disable_maceisa_irq | 420 | #define shutdown_maceisa_irq disable_maceisa_irq |
421 | 421 | ||
422 | static struct hw_interrupt_type ip32_maceisa_interrupt = { | 422 | static struct irq_chip ip32_maceisa_interrupt = { |
423 | .typename = "IP32 MACE ISA", | 423 | .typename = "IP32 MACE ISA", |
424 | .startup = startup_maceisa_irq, | 424 | .startup = startup_maceisa_irq, |
425 | .shutdown = shutdown_maceisa_irq, | 425 | .shutdown = shutdown_maceisa_irq, |
@@ -469,7 +469,7 @@ static void end_mace_irq(unsigned int irq) | |||
469 | #define shutdown_mace_irq disable_mace_irq | 469 | #define shutdown_mace_irq disable_mace_irq |
470 | #define mask_and_ack_mace_irq disable_mace_irq | 470 | #define mask_and_ack_mace_irq disable_mace_irq |
471 | 471 | ||
472 | static struct hw_interrupt_type ip32_mace_interrupt = { | 472 | static struct irq_chip ip32_mace_interrupt = { |
473 | .typename = "IP32 MACE", | 473 | .typename = "IP32 MACE", |
474 | .startup = startup_mace_irq, | 474 | .startup = startup_mace_irq, |
475 | .shutdown = shutdown_mace_irq, | 475 | .shutdown = shutdown_mace_irq, |
@@ -575,7 +575,7 @@ void __init arch_init_irq(void) | |||
575 | mace->perif.ctrl.imask = 0; | 575 | mace->perif.ctrl.imask = 0; |
576 | 576 | ||
577 | for (irq = 0; irq <= IP32_IRQ_MAX; irq++) { | 577 | for (irq = 0; irq <= IP32_IRQ_MAX; irq++) { |
578 | hw_irq_controller *controller; | 578 | struct irq_chip *controller; |
579 | 579 | ||
580 | if (irq == IP32_R4K_TIMER_IRQ) | 580 | if (irq == IP32_R4K_TIMER_IRQ) |
581 | controller = &ip32_cpu_interrupt; | 581 | controller = &ip32_cpu_interrupt; |