[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
@@ -908,7 +908,7 @@ static int otg_bind(struct isp1301 *isp)
|
||||
|
||||
if (otg_dev)
|
||||
status = request_irq(otg_dev->resource[1].start, omap_otg_irq,
|
||||
SA_INTERRUPT, DRIVER_NAME, isp);
|
||||
IRQF_DISABLED, DRIVER_NAME, isp);
|
||||
else
|
||||
status = -ENODEV;
|
||||
|
||||
@@ -1578,7 +1578,7 @@ fail1:
|
||||
}
|
||||
|
||||
status = request_irq(isp->irq, isp1301_irq,
|
||||
SA_SAMPLE_RANDOM, DRIVER_NAME, isp);
|
||||
IRQF_SAMPLE_RANDOM, DRIVER_NAME, isp);
|
||||
if (status < 0) {
|
||||
dev_dbg(&i2c->dev, "can't get IRQ %d, err %d\n",
|
||||
isp->irq, status);
|
||||
|
Reference in New Issue
Block a user