diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2007-02-09 11:05:12 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-09 11:28:48 -0500 |
commit | 97210b5f1c2ca98c62663a38f1d32839031f1c27 (patch) | |
tree | 68f2f543c0c4f34d30ac1b7bf725e6b0ae59e580 | |
parent | 9288f5c3f190ef5ee8e50b27e8ae1152f19061e4 (diff) |
[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>
-rw-r--r-- | drivers/net/spider_net.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/spider_net.c b/drivers/net/spider_net.c index bf6ff39e02bb..64ed8ff5b03a 100644 --- a/drivers/net/spider_net.c +++ b/drivers/net/spider_net.c | |||
@@ -1907,7 +1907,7 @@ spider_net_stop(struct net_device *netdev) | |||
1907 | spider_net_write_reg(card, SPIDER_NET_GHIINT2MSK, 0); | 1907 | spider_net_write_reg(card, SPIDER_NET_GHIINT2MSK, 0); |
1908 | 1908 | ||
1909 | /* free_irq(netdev->irq, netdev);*/ | 1909 | /* free_irq(netdev->irq, netdev);*/ |
1910 | free_irq(to_pci_dev(netdev->class_dev.dev)->irq, netdev); | 1910 | free_irq(to_pci_dev(netdev->dev.parent)->irq, netdev); |
1911 | 1911 | ||
1912 | spider_net_write_reg(card, SPIDER_NET_GDTDMACCNTR, | 1912 | spider_net_write_reg(card, SPIDER_NET_GDTDMACCNTR, |
1913 | SPIDER_NET_DMA_TX_FEND_VALUE); | 1913 | SPIDER_NET_DMA_TX_FEND_VALUE); |