]> err.no Git - linux-2.6/commitdiff
[ALSA] sound: fix rme9652 section mismatch
authorRandy Dunlap <randy.dunlap@oracle.com>
Wed, 16 Jan 2008 13:55:42 +0000 (14:55 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 31 Jan 2008 16:30:01 +0000 (17:30 +0100)
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@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/pci/rme9652/hdsp.c

index 4ba9e019ad041bda42e574bd3091503d79175de2..763e4c917ec69ae12a7ef74d2273fa2bad05ca69 100644 (file)
@@ -3555,7 +3555,7 @@ snd_hdsp_proc_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer)
 
 }
 
-static void __devinit snd_hdsp_proc_init(struct hdsp *hdsp)
+static void snd_hdsp_proc_init(struct hdsp *hdsp)
 {
        struct snd_info_entry *entry;