Skip to content

Commit

Permalink
[ALSA] portman2x4 section mismatch
Browse files Browse the repository at this point in the history
FIx section mismatch when CONFIG_HOTPLUG=n:
WARNING: sound/built-in.o(.exit.text+0x271): Section mismatch: reference to .init.text:snd_p
ortman_unregister_all (between 'snd_portman_module_exit' and 'alsa_mpu401_uart_exit')

Signed-off-by: Randy Dunlap <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Signed-off-by: Jaroslav Kysela <[email protected]>
  • Loading branch information
rddunlap authored and Jaroslav Kysela committed Jul 20, 2007
1 parent 076c0e4 commit 3c2b576
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/drivers/portman2x4.c
Original file line number Diff line number Diff line change
Expand Up @@ -833,7 +833,7 @@ static struct platform_driver snd_portman_driver = {
/*********************************************************************
* module init stuff
*********************************************************************/
static void __init_or_module snd_portman_unregister_all(void)
static void snd_portman_unregister_all(void)
{
int i;

Expand Down

0 comments on commit 3c2b576

Please sign in to comment.