Commit 599c3e76 authored by Randy Dunlap's avatar Randy Dunlap Committed by Jaroslav Kysela

[ALSA] sound: fix caiaq section mismatches

Fix section mismatch in caiaq: these __devinit functions can be
called at any time so they should not be __devinit.
WARNING: vmlinux.o(.text+0x10a8dae): Section mismatch: reference to .init.text:snd_usb_caiaq_audio_init (between 'setup_card' and 'create_card')
WARNING: vmlinux.o(.text+0x10a8dd6): Section mismatch: reference to .init.text:snd_usb_caiaq_midi_init (between 'setup_card' and 'create_card')
Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarJaroslav Kysela <perex@perex.cz>
parent 1374f8ce
...@@ -603,7 +603,7 @@ static void free_urbs(struct urb **urbs) ...@@ -603,7 +603,7 @@ static void free_urbs(struct urb **urbs)
kfree(urbs); kfree(urbs);
} }
int __devinit snd_usb_caiaq_audio_init(struct snd_usb_caiaqdev *dev) int snd_usb_caiaq_audio_init(struct snd_usb_caiaqdev *dev)
{ {
int i, ret; int i, ret;
......
...@@ -123,7 +123,7 @@ void snd_usb_caiaq_midi_handle_input(struct snd_usb_caiaqdev *dev, ...@@ -123,7 +123,7 @@ void snd_usb_caiaq_midi_handle_input(struct snd_usb_caiaqdev *dev,
snd_rawmidi_receive(dev->midi_receive_substream, buf, len); snd_rawmidi_receive(dev->midi_receive_substream, buf, len);
} }
int __devinit snd_usb_caiaq_midi_init(struct snd_usb_caiaqdev *device) int snd_usb_caiaq_midi_init(struct snd_usb_caiaqdev *device)
{ {
int ret; int ret;
struct snd_rawmidi *rmidi; struct snd_rawmidi *rmidi;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment