[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
@ -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);
|
||||
|
Reference in New Issue
Block a user