Skip to contentSkip to conversation

oss/esssolo1: fix initdata section references

PATCH New Randy.Dunlap 1 participant 1 message Mar 5, 2005 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 oss/esssolo1: fix initdata section references

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

diffstat: sound/oss/esssolo1.c | 2 +-

 1 files changed, 1 insertion(+), 1 deletion(-)
sound/oss/esssolo1.c renamed from sound/oss/esssolo1.c~oss_esssolo1_sections +1 -1
diff -Naurp ./sound/oss/esssolo1.c~oss_esssolo1_sections ./sound/oss/esssolo1.c
@@ -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 },

---