[PATCH] oss/es1370: fix initdata section references

From: Randy.Dunlap
Date: Sat Mar 05 2005 - 01:34:52 EST



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

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

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_sections 2005-03-01 23:38:33.000000000 -0800
+++ ./sound/oss/es1370.c 2005-03-04 21:17:17.000000000 -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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/