Messages in this thread Patch in this message | | | From | Junio Hamano <> | Subject | [PATCH] drivers/sound/via82cxxx_audio.c (binutils .text.exit problem) | Date | Sat, 9 Feb 2002 03:47:40 -0500 |
| |
It appears that via82cxxx audio driver in 2.4.18-pre9 still has .text.exit problem with newer binutils. I've found that the following patch (by Andrew Morton <akpm@zip.com.au>) fixes the linkage problem.
--- 2.4.18-pre9-ac0-cd-c/drivers/sound/via82cxxx_audio.c~ Sat Feb 9 00:30:16 2002 +++ 2.4.18-pre9-ac0-cd-c/drivers/sound/via82cxxx_audio.c Sat Feb 9 00:30:45 2002 @@ -365,7 +365,7 @@ name: VIA_MODULE_NAME, id_table: via_pci_tbl, probe: via_init_one, - remove: via_remove_one, + remove: __devexit_p(via_remove_one), }; @@ -3271,7 +3271,7 @@ } -static void __exit via_remove_one (struct pci_dev *pdev) +static void __devexit via_remove_one (struct pci_dev *pdev) { struct via_info *card; - 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/
| |