[ALSA] caiaq - fix section mismatch warning
authorSam Ravnborg <sam@ravnborg.org>
Fri, 22 Feb 2008 17:46:47 +0000 (18:46 +0100)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 22 Feb 2008 22:20:09 +0000 (14:20 -0800)
commitc598195a2d32dc5388c636260c16e07ebee9b051
treed7bb2374157252a8297ea4a16774c1b1cc79c48d
parent9e03ad7907bc9c9e60a3ea09579a61ad7f9e59c8
[ALSA] caiaq - fix section mismatch warning

Fix following warning:
WARNING: vmlinux.o(.text+0x11ec01a): Section mismatch in reference from the function setup_card() to the function .devinit.text:snd_usb_caiaq_control_init()

setup_card() are only used by init_card().
init_card() are only used by snd_probe()
snd_probe() are used for the .probe parameter in usb_driver.probe

Annotate them all __devinit to fix the warning.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
sound/usb/caiaq/caiaq-device.c