diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-12-02 16:10:09 +0000 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-12-03 12:17:43 +0000 |
commit | 1ee46ebd0435d547c078859c719d7c892ff7ab2d (patch) | |
tree | e10d80724e088f0e4752f34a12260d53003664be /include/sound | |
parent | a00f90f9306c06bee8e909628f39052bb3b0cc9e (diff) | |
download | linux-stable-1ee46ebd0435d547c078859c719d7c892ff7ab2d.tar.gz linux-stable-1ee46ebd0435d547c078859c719d7c892ff7ab2d.tar.bz2 linux-stable-1ee46ebd0435d547c078859c719d7c892ff7ab2d.zip |
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/sound')
-rw-r--r-- | include/sound/soc-dai.h | 2 |
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; |