[alsa-devel] [PATCH] ASoC: sirf-audio-codec: Staticise local symbols
Axel Lin
axel.lin at ingics.com
Wed Jul 15 07:50:49 CEST 2015
Also make sirf_audio_codec_dai_ops const.
Signed-off-by: Axel Lin <axel.lin at ingics.com>
---
sound/soc/codecs/sirf-audio-codec.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/soc/codecs/sirf-audio-codec.c b/sound/soc/codecs/sirf-audio-codec.c
index 29cb442..6bfd25c 100644
--- a/sound/soc/codecs/sirf-audio-codec.c
+++ b/sound/soc/codecs/sirf-audio-codec.c
@@ -370,11 +370,11 @@ static int sirf_audio_codec_trigger(struct snd_pcm_substream *substream,
return 0;
}
-struct snd_soc_dai_ops sirf_audio_codec_dai_ops = {
+static const struct snd_soc_dai_ops sirf_audio_codec_dai_ops = {
.trigger = sirf_audio_codec_trigger,
};
-struct snd_soc_dai_driver sirf_audio_codec_dai = {
+static struct snd_soc_dai_driver sirf_audio_codec_dai = {
.name = "sirf-audio-codec",
.playback = {
.stream_name = "Playback",
--
2.1.0
More information about the Alsa-devel
mailing list