浏览代码

ASoC: Staticise unexported variables

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Mark Brown 16 年之前
父节点
当前提交
d555a552ae
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      sound/soc/imx/mx1_mx2-pcm.c

+ 2 - 2
sound/soc/imx/mx1_mx2-pcm.c

@@ -376,7 +376,7 @@ static int mx1_mx2_pcm_mmap(struct snd_pcm_substream *substream,
 				     runtime->dma_bytes);
 				     runtime->dma_bytes);
 }
 }
 
 
-struct snd_pcm_ops mx1_mx2_pcm_ops = {
+static struct snd_pcm_ops mx1_mx2_pcm_ops = {
 	.open		= mx1_mx2_pcm_open,
 	.open		= mx1_mx2_pcm_open,
 	.close		= mx1_mx2_pcm_close,
 	.close		= mx1_mx2_pcm_close,
 	.ioctl		= snd_pcm_lib_ioctl,
 	.ioctl		= snd_pcm_lib_ioctl,
@@ -434,7 +434,7 @@ static void mx1_mx2_pcm_free_dma_buffers(struct snd_pcm *pcm)
 	}
 	}
 }
 }
 
 
-int mx1_mx2_pcm_new(struct snd_card *card, struct snd_soc_dai *dai,
+static int mx1_mx2_pcm_new(struct snd_card *card, struct snd_soc_dai *dai,
 	struct snd_pcm *pcm)
 	struct snd_pcm *pcm)
 {
 {
 	int ret = 0;
 	int ret = 0;