[alsa-devel] [PATCH 4/4] ASoC: Staticise nuc900_dma_getposition()

Wan ZongShun mcuos.com at gmail.com
Wed Sep 21 08:49:21 CEST 2011


2011/9/21 Axel Lin <axel.lin at gmail.com>:
> It is not used outside this driver so no need to make the symbol global.
>
> Signed-off-by: Axel Lin <axel.lin at gmail.com>
> ---
>  sound/soc/nuc900/nuc900-pcm.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/sound/soc/nuc900/nuc900-pcm.c b/sound/soc/nuc900/nuc900-pcm.c
> index e46d551..4e3626b 100644
> --- a/sound/soc/nuc900/nuc900-pcm.c
> +++ b/sound/soc/nuc900/nuc900-pcm.c
> @@ -227,7 +227,7 @@ static int nuc900_dma_trigger(struct snd_pcm_substream *substream, int cmd)
>        return ret;
>  }
>
> -int nuc900_dma_getposition(struct snd_pcm_substream *substream,
> +static int nuc900_dma_getposition(struct snd_pcm_substream *substream,
>                                        dma_addr_t *src, dma_addr_t *dst)
>  {
>        struct snd_pcm_runtime *runtime = substream->runtime;
> --
> 1.7.4.1
>

thanks!

Acked- by: Wan Zongshun <mcuos.com at gmail.com>

>
>
>



-- 
Wan ZongShun.
www.mcuos.com


More information about the Alsa-devel mailing list