[alsa-devel] [PATCH 11/11] ASoC: davinci-sffsdr: Staticize non exported struct

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


The pcm3008_codec struct is not used outside of davinci-sffsdr.c, so make it
static.

Cc: Gururaja Hebbar <gururaja.hebbar at ti.com>
Signed-off-by: Lars-Peter Clausen <lars at metafoo.de>
---
 sound/soc/davinci/davinci-sffsdr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/davinci/davinci-sffsdr.c b/sound/soc/davinci/davinci-sffsdr.c
index 5be65aa..24df5bc 100644
--- a/sound/soc/davinci/davinci-sffsdr.c
+++ b/sound/soc/davinci/davinci-sffsdr.c
@@ -106,7 +106,7 @@ static struct pcm3008_setup_data sffsdr_pcm3008_setup = {
 	.pdda_pin = GPIO(38),
 };
 
-struct platform_device pcm3008_codec = {
+static struct platform_device pcm3008_codec = {
 		.name = "pcm3008-codec",
 		.id = 0,
 		.dev = {
-- 
1.8.0



More information about the Alsa-devel mailing list