patch-2.4.17 linux/drivers/net/ne2k-pci.c

Next file: linux/drivers/net/ns83820.c
Previous file: linux/drivers/net/natsemi.c
Back to the patch index
Back to the overall index

diff -Naur -X /home/marcelo/lib/dontdiff linux-2.4.16/drivers/net/ne2k-pci.c linux/drivers/net/ne2k-pci.c
@@ -642,7 +642,7 @@
 static struct pci_driver ne2k_driver = {
 	name:		DRV_NAME,
 	probe:		ne2k_pci_init_one,
-	remove:		ne2k_pci_remove_one,
+	remove:		__devexit_p(ne2k_pci_remove_one),
 	id_table:	ne2k_pci_tbl,
 };
 

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