Re: [PATCH 14/16] [ALSA] caiaq - fix section mismatch warning

From: Sam Ravnborg
Date: Fri Feb 22 2008 - 13:31:57 EST


Hi Takashi.


On Fri, Feb 22, 2008 at 06:46:47PM +0100, Takashi Iwai 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.
>
> From: Sam Ravnborg <sam@xxxxxxxxxxxx>

git will not pick up me as author for this patch unless
you place the From: at the _first_ line in the commmit.

Nothing to worry for this simple patch - just so you know in the future.

Sam
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/