[PATCH] irq-flags: drivers/char: Use the new IRQF_ constants
[firefly-linux-kernel-4.4.55.git] / drivers / char / nwbutton.c
index 94845dd12ca90230c31f5a29a3b5b6e6fa919b78..f240a104d250e6f14e70ca5fdfd4eb9f2dd4bf74 100644 (file)
@@ -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);