mirror of https://gitee.com/openkylin/linux.git
[ALSA] sound: fix rme9652 section mismatch
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>
This commit is contained in:
parent
32a41b026e
commit
1374f8ceee
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue