summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2010-12-02 19:10:09 +0300
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-12-03 15:17:43 +0300
commit1ee46ebd0435d547c078859c719d7c892ff7ab2d (patch)
treee10d80724e088f0e4752f34a12260d53003664be /include
parenta00f90f9306c06bee8e909628f39052bb3b0cc9e (diff)
downloadlinux-1ee46ebd0435d547c078859c719d7c892ff7ab2d.tar.xz
ASoC: Make the DAI ops constant in the DAI structure
Neither drivers nor the core should be fiddling with the actual ops structure at runtime. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/sound/soc-dai.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sound/soc-dai.h b/include/sound/soc-dai.h
index 0195b7ee17e1..1bafe95dcf41 100644
--- a/include/sound/soc-dai.h
+++ b/include/sound/soc-dai.h
@@ -203,7 +203,7 @@ struct snd_soc_dai_driver {
int (*resume)(struct snd_soc_dai *dai);
/* ops */
- struct snd_soc_dai_ops *ops;
+ const struct snd_soc_dai_ops *ops;
/* DAI capabilities */
struct snd_soc_pcm_stream capture;