[alsa-devel] [PATCH] ASoC: au1x: fix section mismatch in psc-i2s.c
Annotate platform probe callback with __devinit instead of plain __init.
Signed-off-by: Manuel Lauss manuel.lauss@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;
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@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@slimlogic.co.uk
On Mon, Jul 12, 2010 at 03:14:59PM +0200, Manuel Lauss wrote:
Annotate platform probe callback with __devinit instead of plain __init.
Signed-off-by: Manuel Lauss manuel.lauss@googlemail.com
Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe alsa-devel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
participants (3)
-
Liam Girdwood
-
Manuel Lauss
-
Mark Brown