]> err.no Git - linux-2.6/commitdiff
[ALSA] portman2x4 section mismatch
authorRandy Dunlap <randy.dunlap@oracle.com>
Wed, 27 Jun 2007 09:52:39 +0000 (11:52 +0200)
committerJaroslav Kysela <perex@suse.cz>
Fri, 20 Jul 2007 09:11:39 +0000 (11:11 +0200)
FIx section mismatch when CONFIG_HOTPLUG=n:
WARNING: sound/built-in.o(.exit.text+0x271): Section mismatch: reference to .init.text:snd_p
ortman_unregister_all (between 'snd_portman_module_exit' and 'alsa_mpu401_uart_exit')

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/drivers/portman2x4.c

index 497cafb57d9b6ec0b16dbadc03775e82009fa88a..0eb9b5cebfcdefb44546a06a86fdd3ed4584b70c 100644 (file)
@@ -833,7 +833,7 @@ static struct platform_driver snd_portman_driver = {
 /*********************************************************************
  * module init stuff
  *********************************************************************/
-static void __init_or_module snd_portman_unregister_all(void)
+static void snd_portman_unregister_all(void)
 {
        int i;