From: Randy Dunlap Date: Wed, 27 Jun 2007 09:52:39 +0000 (+0200) Subject: [ALSA] portman2x4 section mismatch X-Git-Tag: v2.6.23-rc1~215^2~52 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c2b576d58b4542b1adc56cbfb92dbfa5eef89ee;p=linux-2.6 [ALSA] portman2x4 section mismatch 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 Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela --- diff --git a/sound/drivers/portman2x4.c b/sound/drivers/portman2x4.c index 497cafb57d..0eb9b5cebf 100644 --- a/sound/drivers/portman2x4.c +++ b/sound/drivers/portman2x4.c @@ -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;