Skip to contentSkip to conversation

sound/oss/opl3as2: fix init section reference

PATCH New Randy.Dunlap 1 participant 1 message Feb 28, 2005 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sound/oss/opl3as2: fix init section reference

sound/oss/opl3sa2: calls __init function during probe, which may be after init for PNP devices;

Error: ./sound/oss/opl3sa2.o .text refers to 0000000000000204 R_X86_64_PC32 .init.text+0xfffffffffffffffc Error: ./sound/oss/opl3sa2.o .text refers to 0000000000000210 R_X86_64_PC32 .init.text+0xfffffffffffffffc Error: ./sound/oss/opl3sa2.o .text refers to 000000000000021c R_X86_64_PC32 .init.text+0xfffffffffffffffc

diffstat:=

 sound/oss/opl3sa2.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
sound/oss/opl3sa2.c renamed from sound/oss/opl3sa2.c~sound_opl_sections +1 -1
diff -Naurp ./sound/oss/opl3sa2.c~sound_opl_sections ./sound/oss/opl3sa2.c
@@ -711,7 +711,7 @@ static void __init attach_opl3sa2_mixer(
 }
 
 
-static void __init opl3sa2_clear_slots(struct address_info* hw_config)
+static void opl3sa2_clear_slots(struct address_info* hw_config)
 {
 	int i;
 

---