2008-02-01 07:43:32

by Greg Ungerer

[permalink] [raw]
Subject: [M68KNOMMU]: use IRQF_DISABLE in m68328serial.c

Use IRQF_DISABLED instead of obsolete IRQ_FLG_STD for request_irq() flags
in m68328serial.c driver.

Signed-off-by: Greg Ungerer <[email protected]>
---


diff -Naurp linux-2.6.24/drivers/serial/68328serial.c linux-2.6.24-uc0/drivers/serial/68328serial.c
--- linux-2.6.24/drivers/serial/68328serial.c 2008-01-25 08:58:37.000000000 +1000
+++ linux-2.6.24-uc0/drivers/serial/68328serial.c 2008-01-11 20:34:32.000000000 +1000
@@ -1410,7 +1410,7 @@ rs68328_init(void)

if (request_irq(uart_irqs[i],
rs_interrupt,
- IRQ_FLG_STD,
+ IRQF_DISABLED,
"M68328_UART", NULL))
panic("Unable to attach 68328 serial interrupt\n");
}