Skip to content

Commit

Permalink
[ALSA] fix section mismatch
Browse files Browse the repository at this point in the history
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 <randy.dunlap@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
  • Loading branch information
Randy Dunlap authored and Jaroslav Kysela committed Jul 20, 2007
1 parent 0ac8551 commit bdec0c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sound/drivers/serial-u16550.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion sound/drivers/virmidi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit bdec0c7

Please sign in to comment.