]> git.hungrycats.org Git - linux/commitdiff
[PATCH] sound/oss/opl3as2: fix init section reference
authorRandy Dunlap <rddunlap@osdl.org>
Mon, 28 Feb 2005 02:32:47 +0000 (18:32 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 28 Feb 2005 02:32:47 +0000 (18:32 -0800)
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@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
sound/oss/opl3sa2.c

index cb1019e6e5a857c381be3f8226cd31512b9b0d56..7b4996e71576c4bc96b05cc0bceac85ff4c9b003 100644 (file)
@@ -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;