summaryrefslogtreecommitdiffstats
path: root/sound/soc
diff options
context:
space:
mode:
authorDmitry Baryshkov <dbaryshkov@gmail.com>2008-07-08 17:45:42 +0200
committerJaroslav Kysela <perex@perex.cz>2008-07-10 09:33:03 +0200
commita84534dc179d3e9f501e5a12598cc5271cd28f5b (patch)
treee66b586df7c0f4dfd7629f899f6be319647a4f30 /sound/soc
parentALSA: tosa: fix compilation with new DAPM API (diff)
downloadlinux-a84534dc179d3e9f501e5a12598cc5271cd28f5b.tar.xz
linux-a84534dc179d3e9f501e5a12598cc5271cd28f5b.zip
ALSA: ASoC: pxa2xx-ac97: fix warning due to missing argument in fuction declaration
Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/soc')
-rw-r--r--sound/soc/pxa/pxa2xx-ac97.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/pxa/pxa2xx-ac97.c b/sound/soc/pxa/pxa2xx-ac97.c
index b458667538cd..059af815ea0c 100644
--- a/sound/soc/pxa/pxa2xx-ac97.c
+++ b/sound/soc/pxa/pxa2xx-ac97.c
@@ -356,7 +356,8 @@ static int pxa2xx_ac97_probe(struct platform_device *pdev,
return ret;
}
-static void pxa2xx_ac97_remove(struct platform_device *pdev)
+static void pxa2xx_ac97_remove(struct platform_device *pdev,
+ struct snd_soc_dai *dai)
{
GCR |= GCR_ACLINK_OFF;
free_irq(IRQ_AC97, NULL);