Skip to content

Commit

Permalink
[ALSA] sound: fix rme9652 section mismatch
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Randy Dunlap authored and Jaroslav Kysela committed Jan 31, 2008
1 parent 32a41b0 commit 1374f8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/pci/rme9652/hdsp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 1374f8c

Please sign in to comment.