summaryrefslogtreecommitdiffstats
path: root/sound/soc/jz4740
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-09-21 14:41:50 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-09-21 14:55:50 +0100
commitbb754636844eae69dad8c714640ac8ad564ec62a (patch)
treeebc121972b6117b31e9060cae813f39f21180a3f /sound/soc/jz4740
parent3b70e3b55dad3b5f552fd03714d551a905794b04 (diff)
downloadlinux-bb754636844eae69dad8c714640ac8ad564ec62a.tar.gz
linux-bb754636844eae69dad8c714640ac8ad564ec62a.tar.bz2
linux-bb754636844eae69dad8c714640ac8ad564ec62a.zip
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>
Diffstat (limited to 'sound/soc/jz4740')
-rw-r--r--sound/soc/jz4740/jz4740-pcm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/jz4740/jz4740-pcm.c b/sound/soc/jz4740/jz4740-pcm.c
index a7c9578be983..d1989cde9f14 100644
--- a/sound/soc/jz4740/jz4740-pcm.c
+++ b/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);
-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_soc_dai *dai = rtd->cpu_dai;