]> err.no Git - linux-2.6/commitdiff
ALSA: ASoC: pxa2xx-ac97: fix warning due to missing argument in fuction declaration
authorDmitry Baryshkov <dbaryshkov@gmail.com>
Tue, 8 Jul 2008 15:45:42 +0000 (19:45 +0400)
committerJaroslav Kysela <perex@perex.cz>
Thu, 10 Jul 2008 07:33:03 +0000 (09:33 +0200)
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>
sound/soc/pxa/pxa2xx-ac97.c

index b458667538cd29e0507413cb0856df708515450e..059af815ea0c65f449d31ea9aa73dee1c86a27ac 100644 (file)
@@ -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);