summaryrefslogtreecommitdiffstats
path: root/sound/drivers/portman2x4.c
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2007-06-27 11:52:39 +0200
committerJaroslav Kysela <perex@suse.cz>2007-07-20 11:11:39 +0200
commit3c2b576d58b4542b1adc56cbfb92dbfa5eef89ee (patch)
treecb43105a4452fa63af5edacadd3a6b590b104393 /sound/drivers/portman2x4.c
parent076c0e4fd80a43f64710fe9aabdc4c463b7f8621 (diff)
downloadtalos-op-linux-3c2b576d58b4542b1adc56cbfb92dbfa5eef89ee.tar.gz
talos-op-linux-3c2b576d58b4542b1adc56cbfb92dbfa5eef89ee.zip
[ALSA] portman2x4 section mismatch
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 <randy.dunlap@oracle.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/drivers/portman2x4.c')
-rw-r--r--sound/drivers/portman2x4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/drivers/portman2x4.c b/sound/drivers/portman2x4.c
index 497cafb57d9b..0eb9b5cebfcd 100644
--- a/sound/drivers/portman2x4.c
+++ b/sound/drivers/portman2x4.c
@@ -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;
OpenPOWER on IntegriCloud