[alsa-devel] [PATCH 03/11] ASoC: spear: spdif_in: Staticize non exported struct

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


The spdif_in_dai struct is not used outside of spdif_in.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_in.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/spear/spdif_in.c b/sound/soc/spear/spdif_in.c
index 643ada6..f0071dd 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,
-- 
1.8.0



More information about the Alsa-devel mailing list