Skip to contentSkip to conversation

oss/es1370: 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/es1370: fix initdata section references

oss/es1370: fix initdata section reference:

Error: ./sound/oss/es1370.o .text refers to 00000000000042bd R_X86_64_32S .init.data+0x0000000000000024
Error: ./sound/oss/es1370.o .text refers to 00000000000042c5 R_X86_64_32S .init.data+0x0000000000000020

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

 1 files changed, 1 insertion(+), 1 deletion(-)
sound/oss/es1370.c renamed from sound/oss/es1370.c~oss_es1370_sections +1 -1
diff -Naurp ./sound/oss/es1370.c~oss_es1370_sections ./sound/oss/es1370.c
@@ -2540,7 +2540,7 @@ MODULE_LICENSE("GPL");
 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 },

---