From: Axel Lin Date: Wed, 21 Sep 2011 06:42:49 +0000 (+0800) Subject: ASoC: Staticise nuc900_dma_getposition() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=49acf73bd03a22d1a0e866b244a4003c222aabee;p=linux-beck.git ASoC: Staticise nuc900_dma_getposition() It is not used outside this driver so no need to make the symbol global. Signed-off-by: Axel Lin Signed-off-by: Mark Brown --- diff --git a/sound/soc/nuc900/nuc900-pcm.c b/sound/soc/nuc900/nuc900-pcm.c index e46d5516e000..4e3626b9d8f9 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;