]> git.hungrycats.org Git - linux/commitdiff
Add __devexit_p marker to orinoco_{pci,plx} wireless drivers
authorAdrian Bunk <bunk@fs.tum.de>
Sun, 4 Aug 2002 08:54:06 +0000 (04:54 -0400)
committerJeff Garzik <jgarzik@mandrakesoft.com>
Sun, 4 Aug 2002 08:54:06 +0000 (04:54 -0400)
drivers/net/wireless/orinoco_pci.c
drivers/net/wireless/orinoco_plx.c

index 07265b385a57187f76c39fd7ee52c158ad561f97..2b3ab784abb05c09ef8bbe5b803fb7b64d02a425 100644 (file)
@@ -364,9 +364,7 @@ static struct pci_driver orinoco_pci_driver = {
        .name           = "orinoco_pci",
        .id_table       = orinoco_pci_pci_id_table,
        .probe          = orinoco_pci_init_one,
-       .remove         = orinoco_pci_remove_one,
-       .suspend        = 0,
-       .resume         = 0
+       .remove         = __devexit_p(orinoco_pci_remove_one),
 };
 
 static int __init orinoco_pci_init(void)
index 876b2e0a7a86d30bd873666ccd901a7ab79819ca..a1ea17a2a40c2089e66aab93413a7559ad15cd2e 100644 (file)
@@ -386,9 +386,7 @@ static struct pci_driver orinoco_plx_driver = {
        .name           = "orinoco_plx",
        .id_table       = orinoco_plx_pci_id_table,
        .probe          = orinoco_plx_init_one,
-       .remove         = orinoco_plx_remove_one,
-       .suspend        = 0,
-       .resume         = 0
+       .remove         = __devexit_p(orinoco_plx_remove_one),
 };
 
 static int __init orinoco_plx_init(void)