lkml.org 
[lkml]   [2002]   [Feb]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] drivers/sound/via82cxxx_audio.c (binutils .text.exit problem)
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:24    [W:0.283 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site