]> err.no Git - linux-2.6/commitdiff
[PATCH] spider_net breakage from class_device -> device
authorAl Viro <viro@ftp.linux.org.uk>
Fri, 9 Feb 2007 16:05:12 +0000 (16:05 +0000)
committerLinus 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

index bf6ff39e02bbc035e2da03992be4c3661d07fa1c..64ed8ff5b03ac6038e4d54fecee1dea85529bf22 100644 (file)
@@ -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);