aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/spear
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2013-05-14 22:19:49 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-05-15 08:48:32 +0400
commit169cc48982f2583de1fea89e7becb1304730a34e (patch)
tree5ff602bb4fce51e9cfd0638085f015b399450432 /sound/soc/spear
parentASoC: SPEAr spdif_{in,out}: use devm for clk and a few more cleanups (diff)
downloadlinux-dev-169cc48982f2583de1fea89e7becb1304730a34e.tar.xz
linux-dev-169cc48982f2583de1fea89e7becb1304730a34e.zip
ASoC: spear: spdif_in: Staticize non exported struct
The spdif_in_dai struct is not used outside of spdif_in.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_in.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/spear/spdif_in.c b/sound/soc/spear/spdif_in.c
index 643ada6a1fa5..f0071ddbfa7d 100644
--- a/sound/soc/spear/spdif_in.c
+++ b/sound/soc/spear/spdif_in.c
@@ -152,7 +152,7 @@ static struct snd_soc_dai_ops spdif_in_dai_ops = {
.hw_params = spdif_in_hw_params,
};
-struct snd_soc_dai_driver spdif_in_dai = {
+static struct snd_soc_dai_driver spdif_in_dai = {
.probe = spdif_in_dai_probe,
.capture = {
.channels_min = 2,