[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
@ -1210,7 +1210,7 @@ static int rhine_open(struct net_device *dev)
|
||||
void __iomem *ioaddr = rp->base;
|
||||
int rc;
|
||||
|
||||
rc = request_irq(rp->pdev->irq, &rhine_interrupt, SA_SHIRQ, dev->name,
|
||||
rc = request_irq(rp->pdev->irq, &rhine_interrupt, IRQF_SHARED, dev->name,
|
||||
dev);
|
||||
if (rc)
|
||||
return rc;
|
||||
@ -1999,7 +1999,7 @@ static int rhine_resume(struct pci_dev *pdev)
|
||||
if (!netif_running(dev))
|
||||
return 0;
|
||||
|
||||
if (request_irq(dev->irq, rhine_interrupt, SA_SHIRQ, dev->name, dev))
|
||||
if (request_irq(dev->irq, rhine_interrupt, IRQF_SHARED, dev->name, dev))
|
||||
printk(KERN_ERR "via-rhine %s: request_irq failed\n", dev->name);
|
||||
|
||||
ret = pci_set_power_state(pdev, PCI_D0);
|
||||
|
Reference in New Issue
Block a user