[PATCH] oss/esssolo1: fix initdata section references

From: Randy.Dunlap
Date: Sat Mar 05 2005 - 01:33:00 EST



oss/esssolo1: fix initdata section reference:

Error: ./sound/oss/esssolo1.o .text refers to 0000000000000bab R_X86_64_32S .init.data+0x0000000000000004
Error: ./sound/oss/esssolo1.o .text refers to 0000000000000bb2 R_X86_64_32S .init.data

Signed-off-by: Randy Dunlap <rddunlap@xxxxxxxx>

diffstat:=
sound/oss/esssolo1.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

diff -Naurp ./sound/oss/esssolo1.c~oss_esssolo1_sections ./sound/oss/esssolo1.c
--- ./sound/oss/esssolo1.c~oss_esssolo1_sections 2005-03-01 23:37:48.000000000 -0800
+++ ./sound/oss/esssolo1.c 2005-03-04 21:19:59.000000000 -0800
@@ -2193,7 +2193,7 @@ static /*const*/ struct file_operations
static struct initvol {
int mixch;
int vol;
-} initvol[] __initdata = {
+} initvol[] __devinitdata = {
{ SOUND_MIXER_WRITE_VOLUME, 0x4040 },
{ SOUND_MIXER_WRITE_PCM, 0x4040 },
{ SOUND_MIXER_WRITE_SYNTH, 0x4040 },


---
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/