projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
702403a
)
smsc911x: register irq with device name, not driver name
author
Steve Glendinning
<steve.glendinning@smsc.com>
Sun, 11 Jan 2009 08:14:52 +0000
(
00:14
-0800)
committer
David S. Miller
<davem@davemloft.net>
Sun, 11 Jan 2009 08:14:52 +0000
(
00:14
-0800)
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 <steve.glendinning@smsc.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/smsc911x.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/smsc911x.c
b/drivers/net/smsc911x.c
index fd3d2a7a1a241896ce50ee624ab4f0b360a98a25..f513bdf1c887682f0dbeccb6f50f0c0bdb4a83a1 100644
(file)
--- 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);