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 <[EMAIL PROTECTED]> > Cc: Daniel Mack <[EMAIL PROTECTED]> > Cc: Takashi Iwai <[EMAIL PROTECTED]> > Cc: Jaroslav Kysela <[EMAIL PROTECTED]>
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 [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/