You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[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
@@ -345,7 +345,7 @@ static int parport_ax88796_probe(struct platform_device *pdev)
|
||||
if (irq >= 0) {
|
||||
/* request irq */
|
||||
ret = request_irq(irq, parport_ax88796_interrupt,
|
||||
SA_TRIGGER_FALLING, pdev->name, pp);
|
||||
IRQF_TRIGGER_FALLING, pdev->name, pp);
|
||||
|
||||
if (ret < 0)
|
||||
goto exit_port;
|
||||
|
||||
@@ -353,7 +353,7 @@ static int __init parport_mfc3_init(void)
|
||||
|
||||
if (p->irq != PARPORT_IRQ_NONE) {
|
||||
if (use_cnt++ == 0)
|
||||
if (request_irq(IRQ_AMIGA_PORTS, mfc3_interrupt, SA_SHIRQ, p->name, &pp_mfc3_ops))
|
||||
if (request_irq(IRQ_AMIGA_PORTS, mfc3_interrupt, IRQF_SHARED, p->name, &pp_mfc3_ops))
|
||||
goto out_irq;
|
||||
}
|
||||
|
||||
|
||||
@@ -322,7 +322,7 @@ static int __devinit init_one_port(struct sbus_dev *sdev)
|
||||
p->size = size;
|
||||
|
||||
if ((err = request_irq(p->irq, parport_sunbpp_interrupt,
|
||||
SA_SHIRQ, p->name, p)) != 0) {
|
||||
IRQF_SHARED, p->name, p)) != 0) {
|
||||
goto out_put_port;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user