[PATCH] irq-flags: misc drivers: Use the new IRQF_ constants
Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@elte.hu> Cc: "David S. Miller" <davem@davemloft.net> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
8076fe32a7
commit
dace145374
@@ -850,7 +850,7 @@ static int at91_mci_probe(struct platform_device *pdev)
|
||||
/*
|
||||
* Allocate the MCI interrupt
|
||||
*/
|
||||
ret = request_irq(AT91_ID_MCI, at91_mci_irq, SA_SHIRQ, DRIVER_NAME, host);
|
||||
ret = request_irq(AT91_ID_MCI, at91_mci_irq, IRQF_SHARED, DRIVER_NAME, host);
|
||||
if (ret) {
|
||||
printk(KERN_ERR "Failed to request MCI interrupt\n");
|
||||
clk_disable(mci_clk);
|
||||
|
@@ -886,7 +886,7 @@ static int __devinit au1xmmc_probe(struct platform_device *pdev)
|
||||
int i, ret = 0;
|
||||
|
||||
/* THe interrupt is shared among all controllers */
|
||||
ret = request_irq(AU1100_SD_IRQ, au1xmmc_irq, SA_INTERRUPT, "MMC", 0);
|
||||
ret = request_irq(AU1100_SD_IRQ, au1xmmc_irq, IRQF_DISABLED, "MMC", 0);
|
||||
|
||||
if (ret) {
|
||||
printk(DRIVER_NAME "ERROR: Couldn't get int %d: %d\n",
|
||||
|
@@ -531,11 +531,11 @@ static int mmci_probe(struct amba_device *dev, void *id)
|
||||
writel(0, host->base + MMCIMASK1);
|
||||
writel(0xfff, host->base + MMCICLEAR);
|
||||
|
||||
ret = request_irq(dev->irq[0], mmci_irq, SA_SHIRQ, DRIVER_NAME " (cmd)", host);
|
||||
ret = request_irq(dev->irq[0], mmci_irq, IRQF_SHARED, DRIVER_NAME " (cmd)", host);
|
||||
if (ret)
|
||||
goto unmap;
|
||||
|
||||
ret = request_irq(dev->irq[1], mmci_pio_irq, SA_SHIRQ, DRIVER_NAME " (pio)", host);
|
||||
ret = request_irq(dev->irq[1], mmci_pio_irq, IRQF_SHARED, DRIVER_NAME " (pio)", host);
|
||||
if (ret)
|
||||
goto irq0_free;
|
||||
|
||||
|
@@ -1085,7 +1085,7 @@ static int __init mmc_omap_probe(struct platform_device *pdev)
|
||||
|
||||
omap_set_gpio_direction(host->switch_pin, 1);
|
||||
ret = request_irq(OMAP_GPIO_IRQ(host->switch_pin),
|
||||
mmc_omap_switch_irq, SA_TRIGGER_RISING, DRIVER_NAME, host);
|
||||
mmc_omap_switch_irq, IRQF_TRIGGER_RISING, DRIVER_NAME, host);
|
||||
if (ret) {
|
||||
dev_warn(mmc_dev(host->mmc), "Unable to get IRQ for MMC cover switch\n");
|
||||
omap_free_gpio(host->switch_pin);
|
||||
|
@@ -1075,7 +1075,7 @@ static int __devinit sdhci_probe_slot(struct pci_dev *pdev, int slot)
|
||||
|
||||
setup_timer(&host->timer, sdhci_timeout_timer, (long)host);
|
||||
|
||||
ret = request_irq(host->irq, sdhci_irq, SA_SHIRQ,
|
||||
ret = request_irq(host->irq, sdhci_irq, IRQF_SHARED,
|
||||
host->slot_descr, host);
|
||||
if (ret)
|
||||
goto unmap;
|
||||
|
@@ -1553,7 +1553,7 @@ static int __devinit wbsd_request_irq(struct wbsd_host *host, int irq)
|
||||
* Allocate interrupt.
|
||||
*/
|
||||
|
||||
ret = request_irq(irq, wbsd_irq, SA_SHIRQ, DRIVER_NAME, host);
|
||||
ret = request_irq(irq, wbsd_irq, IRQF_SHARED, DRIVER_NAME, host);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
|
Reference in New Issue
Block a user