]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ASoC: pcm1681: Staticise DAI driver
authorMark Brown <broonie@linaro.org>
Thu, 8 Aug 2013 11:25:57 +0000 (12:25 +0100)
committerMark Brown <broonie@linaro.org>
Thu, 8 Aug 2013 11:35:23 +0000 (12:35 +0100)
It is not exported so doesn't need to be in the global namespace and
sparse warns on this.

Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/pcm1681.c

index 27da41b2dfcd677f02ac6cfb0e50dc8621e964a1..51b18662e6aa52395d0547a7418a2dadfc4409aa 100644 (file)
@@ -225,7 +225,7 @@ static const struct snd_kcontrol_new pcm1681_controls[] = {
                            pcm1681_get_deemph, pcm1681_put_deemph),
 };
 
-struct snd_soc_dai_driver pcm1681_dai = {
+static struct snd_soc_dai_driver pcm1681_dai = {
        .name = "pcm1681-hifi",
        .playback = {
                .stream_name = "Playback",