[PATCH] oss/cmpci: fix initdata section references
From: Randy.Dunlap (rddunlap_at_osdl.org)
Date: 03/05/05
- Previous message: Shawn Starr: "Re: Linux 2.6.11.1"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 4 Mar 2005 21:53:14 -0800 To: linux-sound@vger.kernel.org, lkml <linux-kernel@vger.kernel.org>
oss/cmpci: fix initdata section reference:
Error: ./sound/oss/cmpci.o .text refers to 000000000000418e R_X86_64_32S .init.data+0x0000000000000004
Error: ./sound/oss/cmpci.o .text refers to 0000000000004196 R_X86_64_32S .init.data
Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
diffstat:=
sound/oss/cmpci.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -Naurp ./sound/oss/cmpci.c~oss_cmpci_sections ./sound/oss/cmpci.c
--- ./sound/oss/cmpci.c~oss_cmpci_sections 2005-03-01 23:38:10.000000000 -0800
+++ ./sound/oss/cmpci.c 2005-03-04 21:09:15.000000000 -0800
@@ -2925,7 +2925,7 @@ static /*const*/ struct file_operations
static struct initvol {
int mixch;
int vol;
-} initvol[] __initdata = {
+} initvol[] __devinitdata = {
{ SOUND_MIXER_WRITE_CD, 0x4f4f },
{ SOUND_MIXER_WRITE_LINE, 0x4f4f },
{ SOUND_MIXER_WRITE_MIC, 0x4f4f },
--- --- ~Randy - 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/
- Previous message: Shawn Starr: "Re: Linux 2.6.11.1"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|