diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-12-13 04:13:45 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-12-14 02:55:13 -0500 |
commit | 8faa8c1a5520c1e21372f2016355f4b5c2349bb2 (patch) | |
tree | a602619bd2b7a772e4d865649636e442ac8c4eed /sound/soc/mid-x86 | |
parent | 92f6d63bf1366a9dae18965cdb4a950b5ece3a64 (diff) |
ASoC: Staticise sst_pcm_new and sst_soc_platform_drv
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by Vinod Koul <vinod.koul@linux.intel.com>
Acked-by: Lu Guanqun <guanqun.lu@intel.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/mid-x86')
-rw-r--r-- | sound/soc/mid-x86/sst_platform.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/mid-x86/sst_platform.c b/sound/soc/mid-x86/sst_platform.c index 24f947146947..5b936d5029fe 100644 --- 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) | |||
443 | snd_pcm_lib_preallocate_free_for_all(pcm); | 443 | snd_pcm_lib_preallocate_free_for_all(pcm); |
444 | } | 444 | } |
445 | 445 | ||
446 | int sst_pcm_new(struct snd_soc_pcm_runtime *rtd) | 446 | static int sst_pcm_new(struct snd_soc_pcm_runtime *rtd) |
447 | { | 447 | { |
448 | struct snd_soc_dai *dai = rtd->cpu_dai; | 448 | struct snd_soc_dai *dai = rtd->cpu_dai; |
449 | struct snd_pcm *pcm = rtd->pcm; | 449 | struct snd_pcm *pcm = rtd->pcm; |
@@ -463,7 +463,7 @@ int sst_pcm_new(struct snd_soc_pcm_runtime *rtd) | |||
463 | } | 463 | } |
464 | return retval; | 464 | return retval; |
465 | } | 465 | } |
466 | struct snd_soc_platform_driver sst_soc_platform_drv = { | 466 | static struct snd_soc_platform_driver sst_soc_platform_drv = { |
467 | .ops = &sst_platform_ops, | 467 | .ops = &sst_platform_ops, |
468 | .pcm_new = sst_pcm_new, | 468 | .pcm_new = sst_pcm_new, |
469 | .pcm_free = sst_pcm_free, | 469 | .pcm_free = sst_pcm_free, |