Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Rajeev kumar <rajeev-dlh.kumar@st.com>
To: Lars-Peter Clausen <lars@metafoo.de>
Cc: "alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
	Mark Brown <broonie@opensource.wolfsonmicro.com>,
	Liam Girdwood <lgirdwood@gmail.com>
Subject: Re: [PATCH 2/2] ASoC: spear_pcm: Staticize non-exported structs
Date: Tue, 19 Mar 2013 09:03:19 +0530	[thread overview]
Message-ID: <5147DC7F.9040003@st.com> (raw)
In-Reply-To: <1363629444-22082-2-git-send-email-lars@metafoo.de>

On 3/18/2013 11:27 PM, Lars-Peter Clausen wrote:
> Signed-off-by: Lars-Peter Clausen<lars@metafoo.de>
> ---
>   sound/soc/spear/spear_pcm.c | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/sound/soc/spear/spear_pcm.c b/sound/soc/spear/spear_pcm.c
> index 5e7aebe..dd71167 100644
> --- a/sound/soc/spear/spear_pcm.c
> +++ b/sound/soc/spear/spear_pcm.c
> @@ -25,7 +25,7 @@
>   #include<sound/soc.h>
>   #include<sound/spear_dma.h>
>
> -struct snd_pcm_hardware spear_pcm_hardware = {
> +static struct snd_pcm_hardware spear_pcm_hardware = {
>   	.info = (SNDRV_PCM_INFO_INTERLEAVED | SNDRV_PCM_INFO_BLOCK_TRANSFER |
>   		 SNDRV_PCM_INFO_MMAP | SNDRV_PCM_INFO_MMAP_VALID |
>   		 SNDRV_PCM_INFO_PAUSE | SNDRV_PCM_INFO_RESUME),
> @@ -178,7 +178,7 @@ static int spear_pcm_new(struct snd_soc_pcm_runtime *rtd)
>   	return 0;
>   }
>
> -struct snd_soc_platform_driver spear_soc_platform = {
> +static struct snd_soc_platform_driver spear_soc_platform = {
>   	.ops		=	&spear_pcm_ops,
>   	.pcm_new	=	spear_pcm_new,
>   	.pcm_free	=	spear_pcm_free,

Acked-by: Rajeev Kumar <rajeev-dlh.kumar@st.com>
	

  reply	other threads:[~2013-03-19  3:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-18 17:57 [PATCH 1/2] ASoC: spear_pcm: Update to new pcm_new() API Lars-Peter Clausen
2013-03-18 17:57 ` [PATCH 2/2] ASoC: spear_pcm: Staticize non-exported structs Lars-Peter Clausen
2013-03-19  3:33   ` Rajeev kumar [this message]
2013-03-20 10:03 ` [PATCH 1/2] ASoC: spear_pcm: Update to new pcm_new() API Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5147DC7F.9040003@st.com \
    --to=rajeev-dlh.kumar@st.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=lars@metafoo.de \
    --cc=lgirdwood@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox