alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ASoC: Staticise sst_pcm_new and sst_soc_platform_drv
@ 2011-12-13  9:13 Axel Lin
  2011-12-13 14:27 ` Vinod Koul
  2011-12-14  7:55 ` Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Axel Lin @ 2011-12-13  9:13 UTC (permalink / raw)
  To: alsa-devel
  Cc: Lu Guanqun, Vinod Koul, Brown, Mark, Harsha Priya, Liam Girdwood

Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
 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 24f9471..5b936d5 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,
-- 
1.7.5.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] ASoC: Staticise sst_pcm_new and sst_soc_platform_drv
  2011-12-13  9:13 [PATCH] ASoC: Staticise sst_pcm_new and sst_soc_platform_drv Axel Lin
@ 2011-12-13 14:27 ` Vinod Koul
  2011-12-14  7:55 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Vinod Koul @ 2011-12-13 14:27 UTC (permalink / raw)
  To: Axel Lin; +Cc: alsa-devel, Brown, Mark, Lu Guanqun, Harsha Priya, Liam Girdwood

On Tue, 2011-12-13 at 17:13 +0800, Axel Lin wrote:
> Signed-off-by: Axel Lin <axel.lin@gmail.com>
> ---
>  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 24f9471..5b936d5 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,

Acked-by Vinod Koul <vinod.koul@linux.intel.com>

-- 
~Vinod

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] ASoC: Staticise sst_pcm_new and sst_soc_platform_drv
  2011-12-13  9:13 [PATCH] ASoC: Staticise sst_pcm_new and sst_soc_platform_drv Axel Lin
  2011-12-13 14:27 ` Vinod Koul
@ 2011-12-14  7:55 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2011-12-14  7:55 UTC (permalink / raw)
  To: Axel Lin; +Cc: Vinod Koul, alsa-devel, Lu Guanqun, Liam Girdwood, Harsha Priya

On Tue, Dec 13, 2011 at 05:13:45PM +0800, Axel Lin wrote:
> Signed-off-by: Axel Lin <axel.lin@gmail.com>

Applied, thanks.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-12-14  7:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-13  9:13 [PATCH] ASoC: Staticise sst_pcm_new and sst_soc_platform_drv Axel Lin
2011-12-13 14:27 ` Vinod Koul
2011-12-14  7:55 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).