summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2015-07-15 07:50:49 +0200
committerMark Brown <broonie@kernel.org>2015-07-15 13:32:56 +0200
commit8e2175d42e435b7957bfaa921fc27cb40e923372 (patch)
tree9210cf2d352ec768d245400eb63043c2513cff25
parentLinux 4.2-rc1 (diff)
downloadlinux-8e2175d42e435b7957bfaa921fc27cb40e923372.tar.xz
linux-8e2175d42e435b7957bfaa921fc27cb40e923372.zip
ASoC: sirf-audio-codec: Staticise local symbols
Also make sirf_audio_codec_dai_ops const. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/codecs/sirf-audio-codec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/sirf-audio-codec.c b/sound/soc/codecs/sirf-audio-codec.c
index 29cb44256044..6bfd25c289d1 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",