mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
[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:
parent
dace145374
commit
1fb9df5d30
128 changed files with 159 additions and 159 deletions
|
@ -1252,7 +1252,7 @@ static int rr_open(struct net_device *dev)
|
|||
readl(®s->HostCtrl);
|
||||
spin_unlock_irqrestore(&rrpriv->lock, flags);
|
||||
|
||||
if (request_irq(dev->irq, rr_interrupt, SA_SHIRQ, dev->name, dev)) {
|
||||
if (request_irq(dev->irq, rr_interrupt, IRQF_SHARED, dev->name, dev)) {
|
||||
printk(KERN_WARNING "%s: Requested IRQ %d is busy\n",
|
||||
dev->name, dev->irq);
|
||||
ecode = -EAGAIN;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue