Skip to content

Commit

Permalink
[ALSA] more section mismatches
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Randy Dunlap authored and Jaroslav Kysela committed Jul 20, 2007
1 parent bdec0c7 commit c12aad6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sound/drivers/dummy.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

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

Expand Down

0 comments on commit c12aad6

Please sign in to comment.