[alsa-devel] [PATCH 2/2] ASoC: pxa2xx-ac97: fix warning due to missing argument in fuction declaration

Dmitry Baryshkov dbaryshkov at gmail.com
Tue Jul 8 17:45:42 CEST 2008


Signed-off-by: Dmitry Baryshkov <dbaryshkov at gmail.com>
---
 sound/soc/pxa/pxa2xx-ac97.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/soc/pxa/pxa2xx-ac97.c b/sound/soc/pxa/pxa2xx-ac97.c
index b458667..ce1835e 100644
--- a/sound/soc/pxa/pxa2xx-ac97.c
+++ b/sound/soc/pxa/pxa2xx-ac97.c
@@ -356,7 +356,7 @@ 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);
-- 
1.5.6


-- 
With best wishes
Dmitry



More information about the Alsa-devel mailing list