1
0
Fork 0

[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 <randy.dunlap@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
hifive-unleashed-5.1
Randy Dunlap 2007-06-27 11:52:39 +02:00 committed by Jaroslav Kysela
parent 076c0e4fd8
commit 3c2b576d58
1 changed files with 1 additions and 1 deletions

View 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;