|
@@ -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");
|