[ALSA] fix section mismatch
authorRandy Dunlap <[email protected]>
Mon, 25 Jun 2007 10:07:38 +0000 (12:07 +0200)
committerJaroslav Kysela <[email protected]>
Fri, 20 Jul 2007 09:11:33 +0000 (11:11 +0200)
Fix shared init/exit function attributes:
WARNING: sound/built-in.o(.exit.text+0x4a1): Section mismatch: reference to .init.text: (between 'alsa_card_virmidi_exit' and 'alsa_card_serial_exit')
WARNING: sound/built-in.o(.exit.text+0x4c1): Section mismatch: reference to .init.text: (between 'alsa_card_serial_exit' and 'ac97_bus_exit')

Signed-off-by: Randy Dunlap <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Signed-off-by: Jaroslav Kysela <[email protected]>
sound/drivers/serial-u16550.c
sound/drivers/virmidi.c

index 838a4277929d8060bc0fdda7389e0273cfc4bea7..d3e6a20edd3875bbd536844bca32893c5834f922 100644 (file)
@@ -998,7 +998,7 @@ static struct platform_driver snd_serial_driver = {
        },
 };
 
-static void __init_or_module snd_serial_unregister_all(void)
+static void snd_serial_unregister_all(void)
 {
        int i;
 
index 46f3d34860679c677abe9ee83a32316f5005e243..915c86773c21fbe0a4635a9f5508c2537834f1a8 100644 (file)
@@ -145,7 +145,7 @@ static struct platform_driver snd_virmidi_driver = {
        },
 };
 
-static void __init_or_module snd_virmidi_unregister_all(void)
+static void snd_virmidi_unregister_all(void)
 {
        int i;