From: Lars-Peter Clausen Date: Tue, 14 May 2013 20:19:56 +0000 (+0200) Subject: ASoC: sn95031: Staticize non exported struct X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3eb28d3ca8f0c94ae40f57fbd53ef3805c8fdd2d;p=linux-beck.git ASoC: sn95031: Staticize non exported struct The sn95031_codec struct is not used outside of sn95031.c, so make it static. Signed-off-by: Lars-Peter Clausen Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/sn95031.c b/sound/soc/codecs/sn95031.c index d1ae869d3181..dba26e63844e 100644 --- a/sound/soc/codecs/sn95031.c +++ b/sound/soc/codecs/sn95031.c @@ -883,7 +883,7 @@ static int sn95031_codec_remove(struct snd_soc_codec *codec) return 0; } -struct snd_soc_codec_driver sn95031_codec = { +static struct snd_soc_codec_driver sn95031_codec = { .probe = sn95031_codec_probe, .remove = sn95031_codec_remove, .read = sn95031_read,