Explorar o código

ASoC: sta529: Staticise non-exported codec driver struct

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Mark Brown %!s(int64=13) %!d(string=hai) anos
pai
achega
1427cc37b6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      sound/soc/codecs/sta529.c

+ 1 - 1
sound/soc/codecs/sta529.c

@@ -358,7 +358,7 @@ static int sta529_resume(struct snd_soc_codec *codec)
 	return 0;
 }
 
-struct snd_soc_codec_driver sta529_codec_driver = {
+static const struct snd_soc_codec_driver sta529_codec_driver = {
 	.probe = sta529_probe,
 	.remove = sta529_remove,
 	.set_bias_level = sta529_set_bias_level,