ASoC: sirf-audio-codec: Staticise local symbols
authorAxel Lin <axel.lin@ingics.com>
Wed, 15 Jul 2015 05:50:49 +0000 (13:50 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 15 Jul 2015 11:32:56 +0000 (12:32 +0100)
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>
sound/soc/codecs/sirf-audio-codec.c

index 29cb44256044c7557c6d202b503a925bc15e5d4a..6bfd25c289d1924b4cc3d33892dba97e3366a351 100644 (file)
@@ -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",