1
0
Fork 0

[ALSA] more section mismatches

Something about __init_or_module isn't working as expected (?).
CONFIG_HOTPLUG=y
CONFIG_MODULES=n
Fix shared init/exit code helper:
WARNING: sound/built-in.o(.exit.text+0x243): Section mismatch: reference to .init.text: (between 'alsa_card_mpu401_exit' and 'ac97_bus_exit')
WARNING: sound/built-in.o(.exit.text+0x21b): Section mismatch: reference to .init.text: (between 'alsa_card_dummy_exit' and 'alsa_card_serial_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-25 12:08:01 +02:00 committed by Jaroslav Kysela
parent bdec0c7282
commit c12aad6efb
2 changed files with 2 additions and 2 deletions

View File

@ -659,7 +659,7 @@ static struct platform_driver snd_dummy_driver = {
},
};
static void __init_or_module snd_dummy_unregister_all(void)
static void snd_dummy_unregister_all(void)
{
int i;

View File

@ -228,7 +228,7 @@ static struct pnp_driver snd_mpu401_pnp_driver = {
static struct pnp_driver snd_mpu401_pnp_driver;
#endif
static void __init_or_module snd_mpu401_unregister_all(void)
static void snd_mpu401_unregister_all(void)
{
int i;