]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
ASoC: Staticise bf5xx_pcm_i2s_new()
authorAxel Lin <axel.lin@gmail.com>
Wed, 21 Sep 2011 06:40:58 +0000 (14:40 +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/blackfin/bf5xx-i2s-pcm.c

index 61ddf942fd4d0269c499c936d631d0959d261453..7565e1576ffa47a04ab165423cda019eb53c7375 100644 (file)
@@ -257,7 +257,7 @@ static void bf5xx_pcm_free_dma_buffers(struct snd_pcm *pcm)
 
 static u64 bf5xx_pcm_dmamask = DMA_BIT_MASK(32);
 
-int bf5xx_pcm_i2s_new(struct snd_soc_pcm_runtime *rtd)
+static int bf5xx_pcm_i2s_new(struct snd_soc_pcm_runtime *rtd)
 {
        struct snd_card *card = rtd->card->snd_card;
        struct snd_soc_dai *dai = rtd->cpu_dai;