summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/sirf-audio-codec.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2015-07-15 13:50:49 +0800
committerMark Brown <broonie@kernel.org>2015-07-15 12:32:56 +0100
commit8e2175d42e435b7957bfaa921fc27cb40e923372 (patch)
tree9210cf2d352ec768d245400eb63043c2513cff25 /sound/soc/codecs/sirf-audio-codec.c
parentd770e558e21961ad6cfdf0ff7df0eb5d7d4f0754 (diff)
downloadtalos-obmc-linux-8e2175d42e435b7957bfaa921fc27cb40e923372.tar.gz
talos-obmc-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>
Diffstat (limited to 'sound/soc/codecs/sirf-audio-codec.c')
-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",
OpenPOWER on IntegriCloud