sound/oss/opl3as2: fix init section reference
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
Signed-off-by Randy Dunlap <[email protected]>
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
@@ -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;
---