* [PATCH] oss/cmpci: fix initdata section references
@ 2005-03-05 5:53 Randy.Dunlap
0 siblings, 0 replies; only message in thread
From: Randy.Dunlap @ 2005-03-05 5:53 UTC (permalink / raw)
To: linux-sound, lkml; +Cc: torvalds, akpm
oss/cmpci: fix initdata section reference:
Error: ./sound/oss/cmpci.o .text refers to 000000000000418e R_X86_64_32S .init.data+0x0000000000000004
Error: ./sound/oss/cmpci.o .text refers to 0000000000004196 R_X86_64_32S .init.data
Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
diffstat:=
sound/oss/cmpci.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -Naurp ./sound/oss/cmpci.c~oss_cmpci_sections ./sound/oss/cmpci.c
--- ./sound/oss/cmpci.c~oss_cmpci_sections 2005-03-01 23:38:10.000000000 -0800
+++ ./sound/oss/cmpci.c 2005-03-04 21:09:15.000000000 -0800
@@ -2925,7 +2925,7 @@ static /*const*/ struct file_operations
static struct initvol {
int mixch;
int vol;
-} initvol[] __initdata = {
+} initvol[] __devinitdata = {
{ SOUND_MIXER_WRITE_CD, 0x4f4f },
{ SOUND_MIXER_WRITE_LINE, 0x4f4f },
{ SOUND_MIXER_WRITE_MIC, 0x4f4f },
---
---
~Randy
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-03-05 6:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-05 5:53 [PATCH] oss/cmpci: fix initdata section references Randy.Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).