Commit 7cabf55b authored by Randy Dunlap's avatar Randy Dunlap Committed by Linus Torvalds

[PATCH] 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: default avatarRandy Dunlap <rddunlap@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent baacac11
......@@ -711,7 +711,7 @@ static void __init attach_opl3sa2_mixer(struct address_info *hw_config, int card
}
static void __init opl3sa2_clear_slots(struct address_info* hw_config)
static void opl3sa2_clear_slots(struct address_info* hw_config)
{
int i;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment