From: Al Viro Date: Fri, 9 Feb 2007 16:05:12 +0000 (+0000) Subject: [PATCH] spider_net breakage from class_device -> device X-Git-Tag: v2.6.21-rc1~83^2~55 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97210b5f1c2ca98c62663a38f1d32839031f1c27;p=linux-2.6 [PATCH] spider_net breakage from class_device -> device Acked-by: Jeff Garzik Signed-off-by: Al Viro Signed-off-by: Linus Torvalds --- diff --git a/drivers/net/spider_net.c b/drivers/net/spider_net.c index bf6ff39e02..64ed8ff5b0 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);