Skip to contentSkip to conversation

ASoC: au1x: fix section mismatch in psc-i2s.c

PATCH Applied Manuel Lauss 3 participants 3 messages Jul 12, 2010 – Jul 13, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: au1x: fix section mismatch in psc-i2s.c

Annotate platform probe callback with __devinit instead of plain __init.

---
 sound/soc/au1x/psc-i2s.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
sound/soc/au1x/psc-i2s.c +1 -1
index 495be6e..24454c9 100644
@@ -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
Acked-by on v1 1/1
#1 lore raw
Quoted 12 lines · Manuel Lauss

Annotate platform probe callback with __devinit instead of plain __init.

---
 sound/soc/au1x/psc-i2s.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
sound/soc/au1x/psc-i2s.c +0 -0
index 495be6e..24454c9 100644

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.

Signature · 3 lines
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk