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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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-sound" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Pulseaudio]     [Linux Audio Users]     [ALSA Devel]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux