orion: remove IRQF_DISABLED
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 17 Aug 2015 11:26:14 +0000 (11:26 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 17 Aug 2015 11:26:14 +0000 (11:26 +0000)
no-op since 2.6.35
    removed in Kernel 4.1
    see https://lwn.net/Articles/380931/

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46672 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/orion/files/arch/arm/mach-orion5x/dt2-setup.c

index b341ed6..658ea92 100644 (file)
@@ -335,7 +335,7 @@ static void __init dt2_init(void)
        platform_device_register(&dt2_leds);
 
        if (request_irq(gpio_to_irq(DT2_PIN_GPIO_RESET), &dt2_reset_handler,
-                       IRQF_DISABLED | IRQF_TRIGGER_LOW,
+                       IRQF_TRIGGER_LOW,
                        "DT2: Reset button", NULL) < 0) {
 
                printk("DT2: Reset Button IRQ %d not available\n",
@@ -343,7 +343,7 @@ static void __init dt2_init(void)
        }
 
        if (request_irq(gpio_to_irq(DT2_PIN_GPIO_POWER), &dt2_power_handler,
-                       IRQF_DISABLED | IRQF_TRIGGER_LOW,
+                       IRQF_TRIGGER_LOW,
                        "DT2: Power button", NULL) < 0) {
 
                printk(KERN_DEBUG "DT2: Power Button IRQ %d not available\n",