The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH -mm] ALSA portman2x4 section mismatch
@ 2007-06-26 22:30 Randy Dunlap
  2007-06-27 10:02 ` Takashi Iwai
  0 siblings, 1 reply; 4+ messages in thread
From: Randy Dunlap @ 2007-06-26 22:30 UTC (permalink / raw)
  To: lkml; +Cc: akpm, perex

From: Randy Dunlap <randy.dunlap@oracle.com>

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>
---
 sound/drivers/portman2x4.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.22-rc4-mm2.orig/sound/drivers/portman2x4.c
+++ linux-2.6.22-rc4-mm2/sound/drivers/portman2x4.c
@@ -833,7 +833,7 @@ static struct platform_driver snd_portma
 /*********************************************************************
  * module init stuff
  *********************************************************************/
-static void __init_or_module snd_portman_unregister_all(void)
+static void snd_portman_unregister_all(void)
 {
 	int i;
 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-06-28 18:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-26 22:30 [PATCH -mm] ALSA portman2x4 section mismatch Randy Dunlap
2007-06-27 10:02 ` Takashi Iwai
2007-06-28 17:24   ` Randy Dunlap
2007-06-28 18:15     ` Sam Ravnborg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox