Skip to content

Commit

Permalink
ASoC: sirf-audio-codec: Staticise local symbols
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Axel Lin authored and Mark Brown committed Jul 15, 2015
1 parent d770e55 commit 8e2175d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sound/soc/codecs/sirf-audio-codec.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 8e2175d

Please sign in to comment.