浏览代码

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 <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Axel Lin 13 年之前
父节点
当前提交
49acf73bd0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      sound/soc/nuc900/nuc900-pcm.c

+ 1 - 1
sound/soc/nuc900/nuc900-pcm.c

@@ -227,7 +227,7 @@ static int nuc900_dma_trigger(struct snd_pcm_substream *substream, int cmd)
 	return ret;
 	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)
 					dma_addr_t *src, dma_addr_t *dst)
 {
 {
 	struct snd_pcm_runtime *runtime = substream->runtime;
 	struct snd_pcm_runtime *runtime = substream->runtime;