]> err.no Git - linux-2.6/commitdiff
ALSA: more section mismatches
authorRandy Dunlap <randy.dunlap@oracle.com>
Sun, 1 Jul 2007 19:06:37 +0000 (12:06 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 1 Jul 2007 19:29:44 +0000 (12:29 -0700)
Fix section mismatch warnings:

WARNING: sound/built-in.o(.exit.text+0x3ad): Section mismatch: reference to .init.text: (between 'sb_exit' and 'unload_uart6850')
WARNING: sound/built-in.o(.exit.text+0x753): Section mismatch: reference to .init.text: (between 'snd_mts64_module_exit' and 'snd_portman_module_exit')

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Jaroslav Kysela <perex@suse.cz>
Cc: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
sound/drivers/mts64.c
sound/oss/sb_card.c

index ebb1bdac7237ca6443d4cba916179515b806e084..2025db5947aef1adcd6913e604d6b64cd1e8a47e 100644 (file)
@@ -1048,7 +1048,7 @@ static struct platform_driver snd_mts64_driver = {
 /*********************************************************************
  * module init stuff
  *********************************************************************/
-static void __init_or_module snd_mts64_unregister_all(void)
+static void snd_mts64_unregister_all(void)
 {
        int i;
 
index 27acd6f29b98ffe06e4ffddd737e2d49218ce7c3..7de18b58f2cd8b3e05895ff33bd27aba607102db 100644 (file)
@@ -290,7 +290,7 @@ static struct pnp_card_driver sb_pnp_driver = {
 MODULE_DEVICE_TABLE(pnp_card, sb_pnp_card_table);
 #endif /* CONFIG_PNP */
 
-static void __init_or_module sb_unregister_all(void)
+static void sb_unregister_all(void)
 {
 #ifdef CONFIG_PNP
        if (pnp_registered)