[alsa-devel] [PATCH] ASoC: pcm1681: Staticise DAI driver
Mark Brown
broonie at kernel.org
Thu Aug 8 13:26:32 CEST 2013
From: Mark Brown <broonie at linaro.org>
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 at linaro.org>
---
sound/soc/codecs/pcm1681.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/codecs/pcm1681.c b/sound/soc/codecs/pcm1681.c
index 27da41b..51b1866 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",
--
1.8.4.rc1
More information about the Alsa-devel
mailing list