[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <s5h1w7awnzx.wl%tiwai@suse.de>
Date: Mon, 18 Feb 2008 11:35:46 +0100
From: Takashi Iwai <tiwai@...e.de>
To: Sam Ravnborg <sam@...nborg.org>
Cc: LKML <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Daniel Mack <daniel@...aq.de>, Jaroslav Kysela <perex@...ex.cz>
Subject: Re: [PATCH 20/27] [ALSA] caiaq - fix section mismatch warning
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@...nborg.org>
> Cc: Daniel Mack <daniel@...aq.de>
> Cc: Takashi Iwai <tiwai@...e.de>
> Cc: Jaroslav Kysela <perex@...ex.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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists