summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-09-21 14:40:05 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-09-21 14:55:50 +0100
commit3156cf73bdde4903bcd6db3fb43943b399813ba7 (patch)
treec8611228c666be5ff1e6406938de0fa06d1941c6
parent92868de6245197cc06c0e66ab794cf159827281b (diff)
downloadlinux-3.10-3156cf73bdde4903bcd6db3fb43943b399813ba7.tar.gz
linux-3.10-3156cf73bdde4903bcd6db3fb43943b399813ba7.tar.bz2
linux-3.10-3156cf73bdde4903bcd6db3fb43943b399813ba7.zip
ASoC: Staticise bf5xx_pcm_ac97_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>
-rw-r--r--sound/soc/blackfin/bf5xx-ac97-pcm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/blackfin/bf5xx-ac97-pcm.c b/sound/soc/blackfin/bf5xx-ac97-pcm.c
index 9e59f680bc1..56815c1d47b 100644
--- a/sound/soc/blackfin/bf5xx-ac97-pcm.c
+++ b/sound/soc/blackfin/bf5xx-ac97-pcm.c
@@ -418,7 +418,7 @@ static void bf5xx_pcm_free_dma_buffers(struct snd_pcm *pcm)
static u64 bf5xx_pcm_dmamask = DMA_BIT_MASK(32);
-int bf5xx_pcm_ac97_new(struct snd_soc_pcm_runtime *rtd)
+static int bf5xx_pcm_ac97_new(struct snd_soc_pcm_runtime *rtd)
{
struct snd_card *card = rtd->card->snd_card;
struct snd_soc_dai *dai = rtd->cpu_dai;