From: Al Viro Date: Fri, 9 Feb 2007 16:05:12 +0000 (+0000) Subject: [PATCH] spider_net breakage from class_device -> device X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=97210b5f1c2ca98c62663a38f1d32839031f1c27;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [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 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);