[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
@@ -2194,7 +2194,7 @@ static int happy_meal_open(struct net_device *dev)
|
||||
*/
|
||||
if ((hp->happy_flags & (HFLAG_QUATTRO|HFLAG_PCI)) != HFLAG_QUATTRO) {
|
||||
if (request_irq(dev->irq, &happy_meal_interrupt,
|
||||
SA_SHIRQ, dev->name, (void *)dev)) {
|
||||
IRQF_SHARED, dev->name, (void *)dev)) {
|
||||
HMD(("EAGAIN\n"));
|
||||
printk(KERN_ERR "happy_meal(SBUS): Can't order irq %d to go.\n",
|
||||
dev->irq);
|
||||
@@ -2608,7 +2608,7 @@ static void __init quattro_sbus_register_irqs(void)
|
||||
|
||||
err = request_irq(sdev->irqs[0],
|
||||
quattro_sbus_interrupt,
|
||||
SA_SHIRQ, "Quattro",
|
||||
IRQF_SHARED, "Quattro",
|
||||
qp);
|
||||
if (err != 0) {
|
||||
printk(KERN_ERR "Quattro: Fatal IRQ registery error %d.\n", err);
|
||||
|
Reference in New Issue
Block a user