ASoC: au1x: fix section mismatch in psc-i2s.c
PATCH 1/1 ASoC: au1x: fix section mismatch in psc-i2s.c
Annotate platform probe callback with __devinit instead of plain __init.
Signed-off-by Manuel Lauss <[email protected]>
--- sound/soc/au1x/psc-i2s.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
sound/soc/au1x/psc-i2s.c +1 -1
@@ -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;
Signature · 1 line
1.7.1.1
Quoted 12 lines · Manuel Lauss
Annotate platform probe callback with
__devinitinstead of plain__init.Signed-off-by Manuel Lauss <[email protected]>--- sound/soc/au1x/psc-i2s.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)sound/soc/au1x/psc-i2s.c +0
-0
sound/soc/au1x/psc-i2s.c struct snd_soc_dai au1xpsc_i2s_dai = { · line 306
Quoted 8 lines
sound/soc/au1x/psc-i2s.c +1
-1@@ -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 <[email protected]>
Signature · 3 lines
Freelance Developer, SlimLogic Ltd ASoC and Voltage Regulator Maintainer. http://www.slimlogic.co.uk
Mark Brown
AppliedQuoted 3 lines · Manuel Lauss
Annotate platform probe callback with
__devinitinstead of plain__init.Signed-off-by Manuel Lauss <[email protected]>
Applied, thanks.