ASoC: Staticise nuc900_dma_getposition()
authorAxel Lin <axel.lin@gmail.com>
Wed, 21 Sep 2011 06:42:49 +0000 (14:42 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 21 Sep 2011 13:55:50 +0000 (14:55 +0100)
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>
sound/soc/nuc900/nuc900-pcm.c

index e46d5516e000c65e1c05894cb7d84076aab34d8e..4e3626b9d8f9307df21c7327494bc9e1bc8ae840 100644 (file)
@@ -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;