projects
/
platform
/
kernel
/
linux-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b70e3b
)
ASoC: Staticise jz4740_pcm_new()
author
Axel Lin
<axel.lin@gmail.com>
Wed, 21 Sep 2011 06:41:50 +0000
(14:41 +0800)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Wed, 21 Sep 2011 13:55:50 +0000
(14:55 +0100)
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>
sound/soc/jz4740/jz4740-pcm.c
patch
|
blob
|
history
diff --git
a/sound/soc/jz4740/jz4740-pcm.c
b/sound/soc/jz4740/jz4740-pcm.c
index a7c9578be983d431c44a6631a14e688a58ec9560..d1989cde9f14d0d442531066f96b2a6e9c4f3525 100644
(file)
--- 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;