[alsa-devel] [PATCH 09/11] ASoC: mop500: Staticize non exported struct

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


The mop500_dai_links struct is not used outside of mop500.c, so make it static.

Cc: Ola Lilja <ola.o.lilja at stericsson.com>
Cc: Fabio Baltieri <fabio.baltieri at linaro.org>
Signed-off-by: Lars-Peter Clausen <lars at metafoo.de>
---
 sound/soc/ux500/mop500.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/ux500/mop500.c b/sound/soc/ux500/mop500.c
index 204b899..8f5cd00 100644
--- a/sound/soc/ux500/mop500.c
+++ b/sound/soc/ux500/mop500.c
@@ -27,7 +27,7 @@
 #include "mop500_ab8500.h"
 
 /* Define the whole MOP500 soundcard, linking platform to the codec-drivers  */
-struct snd_soc_dai_link mop500_dai_links[] = {
+static struct snd_soc_dai_link mop500_dai_links[] = {
 	{
 		.name = "ab8500_0",
 		.stream_name = "ab8500_0",
-- 
1.8.0



More information about the Alsa-devel mailing list