[PATCH 4/5] sound: fix rme9652 section mismatch

From: Randy Dunlap
Date: Tue Jan 15 2008 - 16:28:15 EST


From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

Fix section mismatch in hdsp: snd_hdsp_proc_init() can be called from
an ioctl at any time.

WARNING: vmlinux.o(.text+0x1089bc2): Section mismatch: reference to .init.text: (between 'snd_hdsp_create_alsa_devices' and 'snd_hdsp_free')

Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
---
sound/pci/rme9652/hdsp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.24-rc7-git7.orig/sound/pci/rme9652/hdsp.c
+++ linux-2.6.24-rc7-git7/sound/pci/rme9652/hdsp.c
@@ -3558,7 +3558,7 @@ snd_hdsp_proc_read(struct snd_info_entry

}

-static void __devinit snd_hdsp_proc_init(struct hdsp *hdsp)
+static void snd_hdsp_proc_init(struct hdsp *hdsp)
{
struct snd_info_entry *entry;

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/