[alsa-devel] [PATCH] ASoC: au1x: fix section mismatch in psc-i2s.c
Liam Girdwood
lrg at slimlogic.co.uk
Tue Jul 13 12:41:42 CEST 2010
On Mon, 2010-07-12 at 15:14 +0200, Manuel Lauss wrote:
> Annotate platform probe callback with __devinit instead of plain __init.
>
> Signed-off-by: Manuel Lauss <manuel.lauss at googlemail.com>
> ---
> sound/soc/au1x/psc-i2s.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/sound/soc/au1x/psc-i2s.c b/sound/soc/au1x/psc-i2s.c
> index 495be6e..24454c9 100644
> --- a/sound/soc/au1x/psc-i2s.c
> +++ b/sound/soc/au1x/psc-i2s.c
> @@ -300,7 +300,7 @@ struct snd_soc_dai au1xpsc_i2s_dai = {
> };
> EXPORT_SYMBOL(au1xpsc_i2s_dai);
>
> -static int __init au1xpsc_i2s_drvprobe(struct platform_device *pdev)
> +static int __devinit au1xpsc_i2s_drvprobe(struct platform_device *pdev)
> {
> struct resource *r;
> unsigned long sel;
Manuel, thanks for the patch. Could you CC both Mark and I in the future
on future ASoC patches. I almost missed this one.
Acked-by: Liam Girdwood <lrg at slimlogic.co.uk>
--
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk
More information about the Alsa-devel
mailing list