summaryrefslogtreecommitdiff
path: root/drivers/net/spider_net.c
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2007-02-09 19:05:12 +0300
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-09 19:28:48 +0300
commit97210b5f1c2ca98c62663a38f1d32839031f1c27 (patch)
tree68f2f543c0c4f34d30ac1b7bf725e6b0ae59e580 /drivers/net/spider_net.c
parent9288f5c3f190ef5ee8e50b27e8ae1152f19061e4 (diff)
downloadlinux-97210b5f1c2ca98c62663a38f1d32839031f1c27.tar.xz
[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>
Diffstat (limited to 'drivers/net/spider_net.c')
-rw-r--r--drivers/net/spider_net.c2
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)
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);