ASoC: spear: spdif_in: Staticize non exported struct
authorLars-Peter Clausen <lars@metafoo.de>
Tue, 14 May 2013 20:19:49 +0000 (22:19 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 15 May 2013 04:48:32 +0000 (08:48 +0400)
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>
sound/soc/spear/spdif_in.c

index 643ada6a1fa5cddb4b1c9f833acc5a040fe886b7..f0071ddbfa7df313fa31b96cb5af2c71b0cc6e25 100644 (file)
@@ -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,