patch-2.4.18 linux/drivers/net/tokenring/tmspci.c
Next file: linux/drivers/net/tulip/ChangeLog
Previous file: linux/drivers/net/tokenring/abyss.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Wed Feb 13 17:38:13 2002
- Orig file:
linux.orig/drivers/net/tokenring/tmspci.c
- Orig date:
Mon Feb 18 20:18:39 2002
diff -Naur -X /home/marcelo/lib/dontdiff linux.orig/drivers/net/tokenring/tmspci.c linux/drivers/net/tokenring/tmspci.c
@@ -220,7 +220,7 @@
return val;
}
-static void __exit tms_pci_detach (struct pci_dev *pdev)
+static void __devexit tms_pci_detach (struct pci_dev *pdev)
{
struct net_device *dev = pci_get_drvdata(pdev);
@@ -238,7 +238,7 @@
name: "tmspci",
id_table: tmspci_pci_tbl,
probe: tms_pci_attach,
- remove: tms_pci_detach,
+ remove: __devexit_p(tms_pci_detach),
};
static int __init tms_pci_init (void)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)