ALSA: fix section mismatch
PATCH 1/1 ALSA: fix section mismatch
From: Randy Dunlap <[email protected]>
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 Randy Dunlap <[email protected]>
--- sound/drivers/serial-u16550.c | 2 +- sound/drivers/virmidi.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
sound/drivers/serial-u16550.c +1 -1
@@ -998,7 +998,7 @@ static struct platform_driver snd_serial }, }; -static void __init_or_module snd_serial_unregister_all(void) +static void snd_serial_unregister_all (void ) {int i;
sound/drivers/virmidi.c +1 -1
@@ -145,7 +145,7 @@ static struct platform_driver snd_virmid }, }; -static void __init_or_module snd_virmidi_unregister_all(void) +static void snd_virmidi_unregister_all (void ) {int i;