projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92f6d63
)
ASoC: Staticise sst_pcm_new and sst_soc_platform_drv
author
Axel Lin
<
[email protected]
>
Tue, 13 Dec 2011 09:13:45 +0000
(17:13 +0800)
committer
Mark Brown
<
[email protected]
>
Wed, 14 Dec 2011 07:55:13 +0000
(15:55 +0800)
Signed-off-by: Axel Lin <
[email protected]
>
Acked-by Vinod Koul <
[email protected]
>
Acked-by: Lu Guanqun <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
sound/soc/mid-x86/sst_platform.c
patch
|
blob
|
history
diff --git
a/sound/soc/mid-x86/sst_platform.c
b/sound/soc/mid-x86/sst_platform.c
index 24f94714694719cafb485a9604a9e5b77dd282c8..5b936d5029fe6b4059681e7efa60b33b47ae6730 100644
(file)
--- a/
sound/soc/mid-x86/sst_platform.c
+++ b/
sound/soc/mid-x86/sst_platform.c
@@
-443,7
+443,7
@@
static void sst_pcm_free(struct snd_pcm *pcm)
snd_pcm_lib_preallocate_free_for_all(pcm);
}
-int sst_pcm_new(struct snd_soc_pcm_runtime *rtd)
+
static
int sst_pcm_new(struct snd_soc_pcm_runtime *rtd)
{
struct snd_soc_dai *dai = rtd->cpu_dai;
struct snd_pcm *pcm = rtd->pcm;
@@
-463,7
+463,7
@@
int sst_pcm_new(struct snd_soc_pcm_runtime *rtd)
}
return retval;
}
-struct snd_soc_platform_driver sst_soc_platform_drv = {
+st
atic st
ruct snd_soc_platform_driver sst_soc_platform_drv = {
.ops = &sst_platform_ops,
.pcm_new = sst_pcm_new,
.pcm_free = sst_pcm_free,