[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1374646199-9398-1-git-send-email-pshah.mumbai@gmail.com>
Date: Wed, 24 Jul 2013 11:39:59 +0530
From: Prashant Shah <pshah.mumbai@...il.com>
To: netdev@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, mwhitehe@...hat.com,
pshah.mumbai@...il.com, kernel-mentors@...enic.com
Subject: [PATCH] Change request_irq() to use struct net_device *dev->name
Signed-off-by: Prashant Shah <pshah.mumbai@...il.com>
---
drivers/net/ethernet/8390/wd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/8390/wd.c b/drivers/net/ethernet/8390/wd.c
index 03eb3ee..b43a63f 100644
--- a/drivers/net/ethernet/8390/wd.c
+++ b/drivers/net/ethernet/8390/wd.c
@@ -308,7 +308,7 @@ static int __init wd_probe1(struct net_device *dev, int ioaddr)
/* Snarf the interrupt now. There's no point in waiting since we cannot
share and the board will usually be enabled. */
- i = request_irq(dev->irq, ei_interrupt, 0, DRV_NAME, dev);
+ i = request_irq(dev->irq, ei_interrupt, 0, dev->name, dev);
if (i) {
printk (" unable to get IRQ %d.\n", dev->irq);
return i;
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists