]> git.hungrycats.org Git - linux/commitdiff
[PATCH] devexit fix for i82092
authorDave Jones <davej@suse.de>
Wed, 3 Apr 2002 03:58:41 +0000 (19:58 -0800)
committerDave Jones <davej@suse.de>
Wed, 3 Apr 2002 03:58:41 +0000 (19:58 -0800)
In light of the 'lets use this for shutdowns' this will eventually
be ripped out, but for now it makes sense to include it so that we
can build it again on modern binutils

drivers/pcmcia/i82092.c

index 6f921871df33478f4a14322ede1358460685b73c..2bd40cd6d57a906a3175802c23844caabf1423c9 100644 (file)
@@ -43,7 +43,7 @@ static struct pci_driver i82092aa_pci_drv = {
        name:           "i82092aa",
        id_table:       i82092aa_pci_ids,
        probe:          i82092aa_pci_probe,
-       remove:         i82092aa_pci_remove,
+       remove:         __devexit_p(i82092aa_pci_remove),
        suspend:        NULL,
        resume:         NULL 
 };
@@ -168,7 +168,7 @@ err_out_disable:
        return ret;                     
 }
 
-static void __exit i82092aa_pci_remove(struct pci_dev *dev)
+static void __devexit i82092aa_pci_remove(struct pci_dev *dev)
 {
        enter("i82092aa_pci_remove");