projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9288f5c
)
[PATCH] spider_net breakage from class_device -> device
author
Al Viro
<viro@ftp.linux.org.uk>
Fri, 9 Feb 2007 16:05:12 +0000
(16:05 +0000)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Fri, 9 Feb 2007 16:28:48 +0000
(08:28 -0800)
Acked-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/net/spider_net.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/spider_net.c
b/drivers/net/spider_net.c
index bf6ff39e02bbc035e2da03992be4c3661d07fa1c..64ed8ff5b03ac6038e4d54fecee1dea85529bf22 100644
(file)
--- a/
drivers/net/spider_net.c
+++ b/
drivers/net/spider_net.c
@@
-1907,7
+1907,7
@@
spider_net_stop(struct net_device *netdev)
spider_net_write_reg(card, SPIDER_NET_GHIINT2MSK, 0);
/* free_irq(netdev->irq, netdev);*/
- free_irq(to_pci_dev(netdev->
class_dev.dev
)->irq, netdev);
+ free_irq(to_pci_dev(netdev->
dev.parent
)->irq, netdev);
spider_net_write_reg(card, SPIDER_NET_GDTDMACCNTR,
SPIDER_NET_DMA_TX_FEND_VALUE);