Jelajahi Sumber

ASoC: Staticise bf5xx_pcm_i2s_new()

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 tahun lalu
induk
melakukan
3b70e3b55d
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      sound/soc/blackfin/bf5xx-i2s-pcm.c

+ 1 - 1
sound/soc/blackfin/bf5xx-i2s-pcm.c

@@ -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;