aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/spear
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2013-05-14 22:19:50 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-05-15 08:48:37 +0400
commit19c7efcd24a71d0f707cecd3c0cee5f4a1289b1e (patch)
tree64a0265703afaf6709f9c2de82c5babe74f78441 /sound/soc/spear
parentASoC: spear: spdif_in: Staticize non exported struct (diff)
downloadlinux-dev-19c7efcd24a71d0f707cecd3c0cee5f4a1289b1e.tar.xz
linux-dev-19c7efcd24a71d0f707cecd3c0cee5f4a1289b1e.zip
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 <lars@metafoo.de> Acked-by: Rajeev Kumar <rajeev-dlh.kumar@st.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/spear')
-rw-r--r--sound/soc/spear/spdif_out.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/spear/spdif_out.c b/sound/soc/spear/spdif_out.c
index fd25cc5efe27..4bde5123cea6 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);