Re: [PATCH 4/4] ASoC: Staticise nuc900_dma_getposition()

From: Wan ZongShun
Date: Wed Sep 21 2011 - 02:49:43 EST


2011/9/21 Axel Lin <axel.lin@xxxxxxxxx>:
> It is not used outside this driver so no need to make the symbol global.
>
> Signed-off-by: Axel Lin <axel.lin@xxxxxxxxx>
> ---
> Â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@xxxxxxxxx>

>
>
>



--
Wan ZongShun.
www.mcuos.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/