[alsa-devel] [PATCH 04/11] ASoC: spear: spdif_out: Staticize unexported function

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


On 5/15/2013 1:49 AM, Lars-Peter Clausen wrote:
> The spdif_soc_dai_probe function is only used in spdif_out.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_out.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/sound/soc/spear/spdif_out.c b/sound/soc/spear/spdif_out.c
> index fd25cc5..4bde512 100644
> --- a/sound/soc/spear/spdif_out.c
> +++ b/sound/soc/spear/spdif_out.c
> @@ -240,7 +240,7 @@ static const struct snd_kcontrol_new spdif_out_controls[] = {
>   			spdif_mute_get, spdif_mute_put),
>   };
>
> -int spdif_soc_dai_probe(struct snd_soc_dai *dai)
> +static int spdif_soc_dai_probe(struct snd_soc_dai *dai)
>   {
>   	struct spdif_out_dev *host = snd_soc_dai_get_drvdata(dai);
>

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


More information about the Alsa-devel mailing list