summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/pcm1681.c
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2013-08-08 13:25:57 +0200
committerMark Brown <broonie@linaro.org>2013-08-08 13:35:23 +0200
commit16695971bec3b8b2398f7ab8dfa4c5a22bfcf95d (patch)
tree3502c00dbd55ae71e397d957725c4bf913ecada8 /sound/soc/codecs/pcm1681.c
parentASoC: Add PCM1681 codec driver. (diff)
downloadlinux-16695971bec3b8b2398f7ab8dfa4c5a22bfcf95d.tar.xz
linux-16695971bec3b8b2398f7ab8dfa4c5a22bfcf95d.zip
ASoC: pcm1681: Staticise DAI driver
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>
Diffstat (limited to 'sound/soc/codecs/pcm1681.c')
-rw-r--r--sound/soc/codecs/pcm1681.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/pcm1681.c b/sound/soc/codecs/pcm1681.c
index 27da41b2dfcd..51b18662e6aa 100644
--- a/sound/soc/codecs/pcm1681.c
+++ b/sound/soc/codecs/pcm1681.c
@@ -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",