ソースを参照

ASoC: Staticise jz4740_pcm_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 年 前
コミット
bb75463684
1 ファイル変更1 行追加1 行削除
  1. 1 1
      sound/soc/jz4740/jz4740-pcm.c

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

@@ -299,7 +299,7 @@ static void jz4740_pcm_free(struct snd_pcm *pcm)
 
 
 static u64 jz4740_pcm_dmamask = DMA_BIT_MASK(32);
 static u64 jz4740_pcm_dmamask = DMA_BIT_MASK(32);
 
 
-int jz4740_pcm_new(struct snd_soc_pcm_runtime *rtd)
+static int jz4740_pcm_new(struct snd_soc_pcm_runtime *rtd)
 {
 {
 	struct snd_card *card = rtd->card->snd_card;
 	struct snd_card *card = rtd->card->snd_card;
 	struct snd_soc_dai *dai = rtd->cpu_dai;
 	struct snd_soc_dai *dai = rtd->cpu_dai;