Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bdec0c72 authored by Randy Dunlap's avatar Randy Dunlap Committed by Jaroslav Kysela
Browse files

[ALSA] fix section mismatch



Fix shared init/exit function attributes:
WARNING: sound/built-in.o(.exit.text+0x4a1): Section mismatch: reference to .init.text: (between 'alsa_card_virmidi_exit' and 'alsa_card_serial_exit')
WARNING: sound/built-in.o(.exit.text+0x4c1): Section mismatch: reference to .init.text: (between 'alsa_card_serial_exit' and 'ac97_bus_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 0ac8551e
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -998,7 +998,7 @@ static struct platform_driver snd_serial_driver = {
	},
	},
};
};


static void __init_or_module snd_serial_unregister_all(void)
static void snd_serial_unregister_all(void)
{
{
	int i;
	int i;


+1 −1
Original line number Original line Diff line number Diff line
@@ -145,7 +145,7 @@ static struct platform_driver snd_virmidi_driver = {
	},
	},
};
};


static void __init_or_module snd_virmidi_unregister_all(void)
static void snd_virmidi_unregister_all(void)
{
{
	int i;
	int i;