summaryrefslogtreecommitdiffstats
path: root/sound/soc
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2009-08-15 11:36:49 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2009-08-15 11:36:49 +0100
commitd555a552aeeef45d097f1d3ea2c6dcce6839f1dd (patch)
tree8ed1224febe6f4ce98988e16bbbc3b6cf166559e /sound/soc
parenta2d512a978ceda557a456d39d88cfc1eb60194e9 (diff)
ASoC: Staticise unexported variables
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc')
-rw-r--r--sound/soc/imx/mx1_mx2-pcm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/imx/mx1_mx2-pcm.c b/sound/soc/imx/mx1_mx2-pcm.c
index 16efd8a7a16..b8386652939 100644
--- a/sound/soc/imx/mx1_mx2-pcm.c
+++ b/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);
}
-struct snd_pcm_ops mx1_mx2_pcm_ops = {
+static struct snd_pcm_ops mx1_mx2_pcm_ops = {
.open = mx1_mx2_pcm_open,
.close = mx1_mx2_pcm_close,
.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)
{
int ret = 0;