From: Sam Ravnborg Date: Fri, 22 Feb 2008 17:46:47 +0000 (+0100) Subject: [ALSA] caiaq - fix section mismatch warning X-Git-Tag: v2.6.25-rc3~75 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c598195a2d32dc5388c636260c16e07ebee9b051;p=pandora-kernel.git [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 Signed-off-by: Takashi Iwai Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed