From: Lars-Peter Clausen Date: Tue, 14 May 2013 20:19:50 +0000 (+0200) Subject: ASoC: spear: spdif_out: Staticize unexported function X-Git-Tag: v3.11-rc1~97^2~3^2~24^2~7^2~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=19c7efcd24a71d0f707cecd3c0cee5f4a1289b1e;p=thirdparty%2Fkernel%2Flinux.git ASoC: spear: spdif_out: Staticize unexported function The spdif_soc_dai_probe function is only used in spdif_out.c, so make it static. Signed-off-by: Lars-Peter Clausen Acked-by: Rajeev Kumar Signed-off-by: Mark Brown --- diff --git a/sound/soc/spear/spdif_out.c b/sound/soc/spear/spdif_out.c index fd25cc5efe277..4bde5123cea64 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);