Commit b023ba59 authored by Thomas Gleixner's avatar Thomas Gleixner Committed by David Howells

MN10300: Convert serial irq_chip to new functions

Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
parent 125bb1db
...@@ -384,16 +384,21 @@ static void mn10300_serial_mask_ack(unsigned int irq) ...@@ -384,16 +384,21 @@ static void mn10300_serial_mask_ack(unsigned int irq)
arch_local_irq_restore(flags); arch_local_irq_restore(flags);
} }
static void mn10300_serial_nop(unsigned int irq) static void mn10300_serial_chip_mask_ack(struct irq_data *d)
{
mn10300_serial_mask_ack(d->irq);
}
static void mn10300_serial_nop(struct irq_data *d)
{ {
} }
static struct irq_chip mn10300_serial_pic = { static struct irq_chip mn10300_serial_pic = {
.name = "mnserial", .name = "mnserial",
.ack = mn10300_serial_mask_ack, .irq_ack = mn10300_serial_chip_mask_ack,
.mask = mn10300_serial_mask_ack, .irq_mask = mn10300_serial_chip_mask_ack,
.mask_ack = mn10300_serial_mask_ack, .irq_mask_ack = mn10300_serial_chip_mask_ack,
.unmask = mn10300_serial_nop, .irq_unmask = mn10300_serial_nop,
}; };
......
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