summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/sn95031.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2013-05-14 22:19:56 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-05-15 08:53:05 +0400
commit3eb28d3ca8f0c94ae40f57fbd53ef3805c8fdd2d (patch)
tree8fffdcd78aec051293ba6c7dc6044484455a3efb /sound/soc/codecs/sn95031.c
parentaba1e2be4dcfda7069cc0b82c73b89707595a454 (diff)
downloadlinux-3eb28d3ca8f0c94ae40f57fbd53ef3805c8fdd2d.tar.bz2
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 <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/sn95031.c')
-rw-r--r--sound/soc/codecs/sn95031.c2
1 files changed, 1 insertions, 1 deletions
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,