[PATCH] oss/es1370: fix initdata section references

2005-03-04 Thread Randy.Dunlap

oss/es1370: fix initdata section reference:

Error: ./sound/oss/es1370.o .text refers to 42bd R_X86_64_32S  
.init.data+0x0024
Error: ./sound/oss/es1370.o .text refers to 42c5 R_X86_64_32S  
.init.data+0x0020

Signed-off-by: Randy Dunlap <[EMAIL PROTECTED]>

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

diff -Naurp ./sound/oss/es1370.c~oss_es1370_sections ./sound/oss/es1370.c
--- ./sound/oss/es1370.c~oss_es1370_sections2005-03-01 23:38:33.0 
-0800
+++ ./sound/oss/es1370.c2005-03-04 21:17:17.0 -0800
@@ -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 },


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


[PATCH] oss/es1370: fix initdata section references

2005-03-04 Thread Randy.Dunlap

oss/es1370: fix initdata section reference:

Error: ./sound/oss/es1370.o .text refers to 42bd R_X86_64_32S  
.init.data+0x0024
Error: ./sound/oss/es1370.o .text refers to 42c5 R_X86_64_32S  
.init.data+0x0020

Signed-off-by: Randy Dunlap [EMAIL PROTECTED]

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

diff -Naurp ./sound/oss/es1370.c~oss_es1370_sections ./sound/oss/es1370.c
--- ./sound/oss/es1370.c~oss_es1370_sections2005-03-01 23:38:33.0 
-0800
+++ ./sound/oss/es1370.c2005-03-04 21:17:17.0 -0800
@@ -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 },


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