[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
@@ -778,7 +778,7 @@ static int mv643xx_eth_open(struct net_device *dev)
|
||||
int err;
|
||||
|
||||
err = request_irq(dev->irq, mv643xx_eth_int_handler,
|
||||
SA_SHIRQ | SA_SAMPLE_RANDOM, dev->name, dev);
|
||||
IRQF_SHARED | IRQF_SAMPLE_RANDOM, dev->name, dev);
|
||||
if (err) {
|
||||
printk(KERN_ERR "Can not assign IRQ number to MV643XX_eth%d\n",
|
||||
port_num);
|
||||
|
Reference in New Issue
Block a user