diff options
-rw-r--r-- | arch/mn10300/kernel/mn10300-serial.c | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/arch/mn10300/kernel/mn10300-serial.c b/arch/mn10300/kernel/mn10300-serial.c index 94f3b54c6eca..93c53739cfc9 100644 --- a/arch/mn10300/kernel/mn10300-serial.c +++ b/arch/mn10300/kernel/mn10300-serial.c | |||
@@ -384,16 +384,21 @@ static void mn10300_serial_mask_ack(unsigned int irq) | |||
384 | arch_local_irq_restore(flags); | 384 | arch_local_irq_restore(flags); |
385 | } | 385 | } |
386 | 386 | ||
387 | static void mn10300_serial_nop(unsigned int irq) | 387 | static void mn10300_serial_chip_mask_ack(struct irq_data *d) |
388 | { | ||
389 | mn10300_serial_mask_ack(d->irq); | ||
390 | } | ||
391 | |||
392 | static void mn10300_serial_nop(struct irq_data *d) | ||
388 | { | 393 | { |
389 | } | 394 | } |
390 | 395 | ||
391 | static struct irq_chip mn10300_serial_pic = { | 396 | static struct irq_chip mn10300_serial_pic = { |
392 | .name = "mnserial", | 397 | .name = "mnserial", |
393 | .ack = mn10300_serial_mask_ack, | 398 | .irq_ack = mn10300_serial_chip_mask_ack, |
394 | .mask = mn10300_serial_mask_ack, | 399 | .irq_mask = mn10300_serial_chip_mask_ack, |
395 | .mask_ack = mn10300_serial_mask_ack, | 400 | .irq_mask_ack = mn10300_serial_chip_mask_ack, |
396 | .unmask = mn10300_serial_nop, | 401 | .irq_unmask = mn10300_serial_nop, |
397 | }; | 402 | }; |
398 | 403 | ||
399 | 404 | ||