[PATCH] irq-flags: drivers/net: 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> Cc: Jeff Garzik <jeff@garzik.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
dace145374
commit
1fb9df5d30
+1
-1
@@ -1079,7 +1079,7 @@ static int hp100_open(struct net_device *dev)
|
||||
/* New: if bus is PCI or EISA, interrupts might be shared interrupts */
|
||||
if (request_irq(dev->irq, hp100_interrupt,
|
||||
lp->bus == HP100_BUS_PCI || lp->bus ==
|
||||
HP100_BUS_EISA ? SA_SHIRQ : SA_INTERRUPT,
|
||||
HP100_BUS_EISA ? IRQF_SHARED : IRQF_DISABLED,
|
||||
"hp100", dev)) {
|
||||
printk("hp100: %s: unable to get IRQ %d\n", dev->name, dev->irq);
|
||||
return -EAGAIN;
|
||||
|
||||
Reference in New Issue
Block a user