[alsa-devel] [PATCH 2/2] ASoC: spear_pcm: Staticize non-exported structs

Rajeev kumar rajeev-dlh.kumar at st.com
Tue Mar 19 04:33:19 CET 2013


On 3/18/2013 11:27 PM, Lars-Peter Clausen wrote:
> Signed-off-by: Lars-Peter Clausen<lars at 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 at st.com>
	


More information about the Alsa-devel mailing list