patch-2.4.21 linux-2.4.21/drivers/net/tokenring/3c359.c

Next file: linux-2.4.21/drivers/net/tokenring/lanstreamer.c
Previous file: linux-2.4.21/drivers/net/tg3.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/drivers/net/tokenring/3c359.c linux-2.4.21/drivers/net/tokenring/3c359.c
@@ -1780,7 +1780,7 @@
 
 static void __devexit xl_remove_one (struct pci_dev *pdev)
 {
-	struct net_device *dev = pdev->driver_data;
+	struct net_device *dev = pci_get_drvdata(pdev);
 	struct xl_private *xl_priv=(struct xl_private *)dev->priv;
 	
 	unregister_trdev(dev);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)