From: Steve Glendinning Date: Sun, 11 Jan 2009 08:14:52 +0000 (-0800) Subject: smsc911x: register irq with device name, not driver name X-Git-Tag: v2.6.29-rc2~105^2~5 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=08168f7164fed494852361ab900358cd7a6b95d6;p=linux-2.6-omap-h63xx.git smsc911x: register irq with device name, not driver name This change lets "cat /proc/interrupts" show the name of the ethernet device (e.g. eth0) rather than the driver name (smsc911x). Signed-off-by: Steve Glendinning Signed-off-by: David S. Miller --- diff --git a/drivers/net/smsc911x.c b/drivers/net/smsc911x.c index fd3d2a7a1a2..f513bdf1c88 100644 --- a/drivers/net/smsc911x.c +++ b/drivers/net/smsc911x.c @@ -1969,7 +1969,7 @@ static int __devinit smsc911x_drv_probe(struct platform_device *pdev) smsc911x_reg_write(pdata, INT_STS, 0xFFFFFFFF); retval = request_irq(dev->irq, smsc911x_irqhandler, IRQF_DISABLED, - SMSC_CHIPNAME, dev); + dev->name, dev); if (retval) { SMSC_WARNING(PROBE, "Unable to claim requested irq: %d", dev->irq);