Browse Source

orion: remove IRQF_DISABLED

no-op since 2.6.35
    removed in Kernel 4.1
    see https://lwn.net/Articles/380931/

Signed-off-by: Dirk Neukirchen <[email protected]>

SVN-Revision: 46672
John Crispin 10 years ago
parent
commit
8411858194
1 changed files with 2 additions and 2 deletions
  1. 2 2
      target/linux/orion/files/arch/arm/mach-orion5x/dt2-setup.c

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

@@ -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",