From 8faa8c1a5520c1e21372f2016355f4b5c2349bb2 Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Tue, 13 Dec 2011 17:13:45 +0800 Subject: ASoC: Staticise sst_pcm_new and sst_soc_platform_drv Signed-off-by: Axel Lin Acked-by Vinod Koul Acked-by: Lu Guanqun Signed-off-by: Mark Brown --- sound/soc/mid-x86/sst_platform.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sound/soc') 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) 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 = { +static struct snd_soc_platform_driver sst_soc_platform_drv = { .ops = &sst_platform_ops, .pcm_new = sst_pcm_new, .pcm_free = sst_pcm_free, -- cgit v1.2.3-59-g8ed1b