[alsa-devel] [PATCH 03/11] ASoC: spear: spdif_in: Staticize non exported struct

Rajeev kumar rajeev-dlh.kumar at st.com
Wed May 15 05:48:11 CEST 2013


On 5/15/2013 1:49 AM, Lars-Peter Clausen wrote:
> The spdif_in_dai struct is not used outside of spdif_in.c, so make it static.
>
> Cc: Rajeev Kumar<rajeev-dlh.kumar at st.com>
> Signed-off-by: Lars-Peter Clausen<lars at metafoo.de>
> ---
>   sound/soc/spear/spdif_in.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/sound/soc/spear/spdif_in.c b/sound/soc/spear/spdif_in.c
> index 643ada6..f0071dd 100644
> --- a/sound/soc/spear/spdif_in.c
> +++ b/sound/soc/spear/spdif_in.c
> @@ -152,7 +152,7 @@ static struct snd_soc_dai_ops spdif_in_dai_ops = {
>   	.hw_params	= spdif_in_hw_params,
>   };
>
> -struct snd_soc_dai_driver spdif_in_dai = {
> +static struct snd_soc_dai_driver spdif_in_dai = {
>   	.probe = spdif_in_dai_probe,
>   	.capture = {
>   		.channels_min = 2,

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


More information about the Alsa-devel mailing list