Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+1 -1
+1 -1
include/sound/soc-dai.h
··· 203 203 int (*resume)(struct snd_soc_dai *dai); 204 204 205 205 /* ops */ 206 - struct snd_soc_dai_ops *ops; 206 + const struct snd_soc_dai_ops *ops; 207 207 208 208 /* DAI capabilities */ 209 209 struct snd_soc_pcm_stream capture;