[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
@@ -1058,7 +1058,7 @@ static int lmc_open (struct net_device *dev) /*fold00*/
|
||||
lmc_softreset (sc);
|
||||
|
||||
/* Since we have to use PCI bus, this should work on x86,alpha,ppc */
|
||||
if (request_irq (dev->irq, &lmc_interrupt, SA_SHIRQ, dev->name, dev)){
|
||||
if (request_irq (dev->irq, &lmc_interrupt, IRQF_SHARED, dev->name, dev)){
|
||||
printk(KERN_WARNING "%s: could not get irq: %d\n", dev->name, dev->irq);
|
||||
lmc_trace(dev, "lmc_open irq failed out");
|
||||
return -EAGAIN;
|
||||
|
Reference in New Issue
Block a user