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

Lars-Peter Clausen lars at metafoo.de
Tue May 14 22:19:50 CEST 2013


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);
 
-- 
1.8.0



More information about the Alsa-devel mailing list