Sfoglia il codice sorgente

ARM: i.MX27 pca100: remove deprecated IRQF_DISABLED

This flag is a NOOP and can be removed now.

Signed-off-by: Juan Solano <jsm@jsolano.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Juan Solano 11 anni fa
parent
commit
d4e7d9427d
1 ha cambiato i file con 1 aggiunte e 2 eliminazioni
  1. 1 2
      arch/arm/mach-imx/mach-pca100.c

+ 1 - 2
arch/arm/mach-imx/mach-pca100.c

@@ -245,8 +245,7 @@ static int pca100_sdhc2_init(struct device *dev, irq_handler_t detect_irq,
 	int ret;
 	int ret;
 
 
 	ret = request_irq(gpio_to_irq(IMX_GPIO_NR(3, 29)), detect_irq,
 	ret = request_irq(gpio_to_irq(IMX_GPIO_NR(3, 29)), detect_irq,
-			  IRQF_DISABLED | IRQF_TRIGGER_FALLING,
-			  "imx-mmc-detect", data);
+			  IRQF_TRIGGER_FALLING, "imx-mmc-detect", data);
 	if (ret)
 	if (ret)
 		printk(KERN_ERR
 		printk(KERN_ERR
 			"pca100: Failed to request irq for sd/mmc detection\n");
 			"pca100: Failed to request irq for sd/mmc detection\n");