[alsa-devel] [PATCH 06/11] ASoC: mmp-sspa: Staticize non exported struct

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


The mmp_sspa_dai struct is only used in mmp-sspa.c, so make it static.

Cc: Zhangfei Gao <zhangfei.gao at marvell.com>
Signed-off-by: Lars-Peter Clausen <lars at metafoo.de>
---
 sound/soc/pxa/mmp-sspa.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/pxa/mmp-sspa.c b/sound/soc/pxa/mmp-sspa.c
index a647799..62142ce 100644
--- a/sound/soc/pxa/mmp-sspa.c
+++ b/sound/soc/pxa/mmp-sspa.c
@@ -388,7 +388,7 @@ static struct snd_soc_dai_ops mmp_sspa_dai_ops = {
 	.set_fmt	= mmp_sspa_set_dai_fmt,
 };
 
-struct snd_soc_dai_driver mmp_sspa_dai = {
+static struct snd_soc_dai_driver mmp_sspa_dai = {
 	.probe = mmp_sspa_probe,
 	.playback = {
 		.channels_min = 1,
-- 
1.8.0



More information about the Alsa-devel mailing list