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

Takashi Iwai tiwai at suse.de
Wed Jul 9 19:50:55 CEST 2008


At Tue, 8 Jul 2008 19:45:42 +0400,
Dmitry Baryshkov wrote:
> 
> Signed-off-by: Dmitry Baryshkov <dbaryshkov at gmail.com>
> ---
>  sound/soc/pxa/pxa2xx-ac97.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Applied with a minor fix (fold the line not to exceed 80 chars).


thanks,

Takashi

> 
> 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
> 
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel at alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> 


More information about the Alsa-devel mailing list