<-- snip -->
...
drivers/mtd/mtdlink.o(.data+0x934): undefined reference to `local
symbols in discarded section .text.exit'
...
<-- snip -->
The following patch fixes it (mtd_pci_remove is __devexit but the pointer
to it didn't use __devexit_p):
--- drivers/mtd/maps/pci.c.old Tue Jun 25 15:26:49 2002
+++ drivers/mtd/maps/pci.c Tue Jun 25 15:27:25 2002
@@ -361,7 +361,7 @@
static struct pci_driver mtd_pci_driver = {
name: "MTD PCI",
probe: mtd_pci_probe,
- remove: mtd_pci_remove,
+ remove: __devexit_p(mtd_pci_remove),
id_table: mtd_pci_ids,
};
cu
Adrian
--You only think this is a free country. Like the US the UK spends a lot of time explaining its a free country because its a police state. Alan Cox
- 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/