Messages in this thread Patch in this message | | | Date | Thu, 21 Mar 2002 22:14:38 +0100 (CET) | From | Adrian Bunk <> | Subject | [patch] fix the last .text.exit error in 2.4.19-pre4 |
| |
Hi Marcelo,
there's still one .text.exit error in 2.4.19-pre4:
drivers/char/char.o(.data+0xad74): undefined reference to `local symbols in discarded section .text.exit'
It seems the following part of the latest version of Andrew Morton's .text.exit fixes didn't make it into 2.4.19-pre4 (with this patch it's fixed):
--- linux-2.4.18-rc1/drivers/char/wdt_pci.c Wed Feb 13 12:59:10 2002 +++ linux-akpm/drivers/char/wdt_pci.c Thu Feb 14 19:23:21 2002 @@ -577,7 +577,7 @@ out_reg: }
-static void __exit wdtpci_remove_one (struct pci_dev *pdev) +static void __devexit wdtpci_remove_one (struct pci_dev *pdev) { /* here we assume only one device will ever have * been picked up and registered by probe function */ @@ -602,7 +602,7 @@ static struct pci_driver wdtpci_driver = name: "wdt-pci", id_table: wdtpci_pci_tbl, probe: wdtpci_init_one, - remove: wdtpci_remove_one, + remove: __devexit_p(wdtpci_remove_one), };
cu Adrian
- 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/
| |