ASoC: sn95031: Staticize non exported struct
authorLars-Peter Clausen <lars@metafoo.de>
Tue, 14 May 2013 20:19:56 +0000 (22:19 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 15 May 2013 04:53:05 +0000 (08:53 +0400)
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>
sound/soc/codecs/sn95031.c

index d1ae869..dba26e6 100644 (file)
@@ -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,