![]() | ||||||||||
Messages in this thread
|
At Sun, 17 Feb 2008 13:22:57 +0100, Sam Ravnborg wrote: > > 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> > Cc: Daniel Mack <daniel@caiaq.de> > Cc: Takashi Iwai <tiwai@suse.de> > Cc: Jaroslav Kysela <perex@perex.cz> Thanks, applied to ALSA tree now. I did another fix for this section mismatch, but reverted it now since yours is better :) Takashi -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | |||||||||
| Last update: 2008-02-18 11:39 [from the cache] ©2003-2008 | ||||||||||