Re: debian unstable and 2.4.16-pre8...

From: Keith Owens (kaos@ocs.com.au)
Date: Thu Dec 13 2001 - 01:32:38 EST


On Wed, 12 Dec 2001 21:33:44 -0500 (EST),
Rob Hensley <zoid@zoid.staticky.com> wrote:
>drivers/pcmcia/pcmcia.o(.data+0x1294): undefined reference to `local
>symbols in discarded section .text.exit'

I converted functions defined as __devexit, i82092.c incorrectly used
__exit. Patch against 2.4.17-pre8, Marcelo please apply.

I resisted the temptation to clean up the white space at the same time,
i82092.c has 176 lines with spurious trailing white space.

Index: 17-pre8.1/drivers/pcmcia/i82092.c
--- 17-pre8.1/drivers/pcmcia/i82092.c Sat, 10 Nov 2001 21:05:25 +1100 kaos (linux-2.4/E/f/35_i82092.c 1.2 644)
+++ 17-pre8.1(w)/drivers/pcmcia/i82092.c Thu, 13 Dec 2001 17:27:28 +1100 kaos (linux-2.4/E/f/35_i82092.c 1.2 644)
@@ -42,7 +42,7 @@ static struct pci_driver i82092aa_pci_dr
         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
 };
@@ -160,7 +160,7 @@ static int __init i82092aa_pci_probe(str
         return 0;
 }
 
-static void __exit i82092aa_pci_remove(struct pci_dev *dev)
+static void __devexit i82092aa_pci_remove(struct pci_dev *dev)
 {
         enter("i82092aa_pci_remove");
         

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Dec 15 2001 - 21:00:25 EST