ASoC: spear: spdif_out: Staticize unexported function
authorLars-Peter Clausen <lars@metafoo.de>
Tue, 14 May 2013 20:19:50 +0000 (22:19 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 15 May 2013 04:48:37 +0000 (08:48 +0400)
The spdif_soc_dai_probe function is only used in spdif_out.c, so make it static.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Rajeev Kumar <rajeev-dlh.kumar@st.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/spear/spdif_out.c

index fd25cc5efe277dedcdd7cf0e2c320c74ab846517..4bde5123cea64f51164f80885b3b2447dd96c247 100644 (file)
@@ -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);