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>
This commit is contained in:
parent
d770e558e2
commit
8e2175d42e
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue