[PATCH] spider_net breakage from class_device -> device
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>
This commit is contained in:
parent
9288f5c3f1
commit
97210b5f1c
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue