[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAKT61h-wY4HaexDXf2tN+PVo1Bxhn75AoA4n1tg_mC3A3aAuJw@mail.gmail.com>
Date: Wed, 21 Sep 2011 14:49:21 +0800
From: Wan ZongShun <mcuos.com@...il.com>
To: Axel Lin <axel.lin@...il.com>
Cc: linux-kernel@...r.kernel.org, Liam Girdwood <lrg@...com>,
Mark Brown <broonie@...nsource.wolfsonmicro.com>,
alsa-devel@...a-project.org
Subject: Re: [PATCH 4/4] ASoC: Staticise nuc900_dma_getposition()
2011/9/21 Axel Lin <axel.lin@...il.com>:
> It is not used outside this driver so no need to make the symbol global.
>
> Signed-off-by: Axel Lin <axel.lin@...il.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@...il.com>
>
>
>
--
Wan ZongShun.
www.mcuos.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists