summaryrefslogtreecommitdiffstats
path: root/sound/soc/nuc900/nuc900-pcm.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-09-21 08:42:49 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-09-21 15:55:50 +0200
commit49acf73bd03a22d1a0e866b244a4003c222aabee (patch)
tree07a071ba3a92936ee7c2ec588eee19d65d11a35c /sound/soc/nuc900/nuc900-pcm.c
parentASoC: Staticise jz4740_pcm_new() (diff)
downloadlinux-49acf73bd03a22d1a0e866b244a4003c222aabee.tar.xz
linux-49acf73bd03a22d1a0e866b244a4003c222aabee.zip
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>
Diffstat (limited to 'sound/soc/nuc900/nuc900-pcm.c')
-rw-r--r--sound/soc/nuc900/nuc900-pcm.c2
1 files changed, 1 insertions, 1 deletions
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;