Commit 3c2b576d authored by Randy Dunlap's avatar Randy Dunlap Committed by Jaroslav Kysela

[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: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarJaroslav Kysela <perex@suse.cz>
parent 076c0e4f
...@@ -833,7 +833,7 @@ static struct platform_driver snd_portman_driver = { ...@@ -833,7 +833,7 @@ static struct platform_driver snd_portman_driver = {
/********************************************************************* /*********************************************************************
* module init stuff * module init stuff
*********************************************************************/ *********************************************************************/
static void __init_or_module snd_portman_unregister_all(void) static void snd_portman_unregister_all(void)
{ {
int i; int i;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment