[PATCH] sound/oss/opl3as2: fix init section reference

From: Randy.Dunlap
Date: Sun Feb 27 2005 - 20:17:28 EST



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 <rddunlap@xxxxxxxx>

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

diff -Naurp ./sound/oss/opl3sa2.c~sound_opl_sections ./sound/oss/opl3sa2.c
--- ./sound/oss/opl3sa2.c~sound_opl_sections 2005-02-27 12:54:07.373802456 -0800
+++ ./sound/oss/opl3sa2.c 2005-02-27 17:08:18.164329888 -0800
@@ -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;



---
-
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/