projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d770e55
)
ASoC: sirf-audio-codec: Staticise local symbols
author
Axel Lin
<
[email protected]
>
Wed, 15 Jul 2015 05:50:49 +0000
(13:50 +0800)
committer
Mark Brown
<
[email protected]
>
Wed, 15 Jul 2015 11:32:56 +0000
(12:32 +0100)
Also make sirf_audio_codec_dai_ops const.
Signed-off-by: Axel Lin <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
sound/soc/codecs/sirf-audio-codec.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/sirf-audio-codec.c
b/sound/soc/codecs/sirf-audio-codec.c
index 29cb44256044c7557c6d202b503a925bc15e5d4a..6bfd25c289d1924b4cc3d33892dba97e3366a351 100644
(file)
--- 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 = {
+st
atic const st
ruct snd_soc_dai_ops sirf_audio_codec_dai_ops = {
.trigger = sirf_audio_codec_trigger,
};
-struct snd_soc_dai_driver sirf_audio_codec_dai = {
+st
atic st
ruct snd_soc_dai_driver sirf_audio_codec_dai = {
.name = "sirf-audio-codec",
.playback = {
.stream_name = "Playback",