From: Dmitry Baryshkov Date: Tue, 8 Jul 2008 15:45:42 +0000 (+0400) Subject: ALSA: ASoC: pxa2xx-ac97: fix warning due to missing argument in fuction declaration X-Git-Tag: v2.6.27-rc1~1111^2~14 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a84534dc179d3e9f501e5a12598cc5271cd28f5b;p=linux-2.6 ALSA: ASoC: pxa2xx-ac97: fix warning due to missing argument in fuction declaration Signed-off-by: Dmitry Baryshkov Acked-by: Mark Brown Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela --- diff --git a/sound/soc/pxa/pxa2xx-ac97.c b/sound/soc/pxa/pxa2xx-ac97.c index b458667538..059af815ea 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);