patch-2.4.18 linux/drivers/net/hamachi.c
Next file: linux/drivers/net/hamradio/6pack.c
Previous file: linux/drivers/net/gmac.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/hamachi.c
- Orig date:
Mon Feb 18 20:18:39 2002
diff -Naur -X /home/marcelo/lib/dontdiff linux.orig/drivers/net/hamachi.c linux/drivers/net/hamachi.c
@@ -1981,7 +1981,7 @@
}
-static void __exit hamachi_remove_one (struct pci_dev *pdev)
+static void __devexit hamachi_remove_one (struct pci_dev *pdev)
{
struct net_device *dev = pci_get_drvdata(pdev);
@@ -2011,7 +2011,7 @@
name: DRV_NAME,
id_table: hamachi_pci_tbl,
probe: hamachi_init_one,
- remove: hamachi_remove_one,
+ remove: __devexit_p(hamachi_remove_one),
};
static int __init hamachi_init (void)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)