[PATCH] irq-flags: drivers/char: Use the new IRQF_ constants
Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@elte.hu> Cc: "David S. Miller" <davem@davemloft.net> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:

committed by
Linus Torvalds

parent
69ab3912d1
commit
0f2ed4c6ba
@@ -223,7 +223,7 @@ static int __init nwbutton_init(void)
|
||||
return -EBUSY;
|
||||
}
|
||||
|
||||
if (request_irq (IRQ_NETWINDER_BUTTON, button_handler, SA_INTERRUPT,
|
||||
if (request_irq (IRQ_NETWINDER_BUTTON, button_handler, IRQF_DISABLED,
|
||||
"nwbutton", NULL)) {
|
||||
printk (KERN_WARNING "nwbutton: IRQ %d is not free.\n",
|
||||
IRQ_NETWINDER_BUTTON);
|
||||
|
Reference in New Issue
Block a user