Skip to content

Commit

Permalink
ASoC: Make the DAI ops constant in the DAI structure
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mark Brown committed Dec 3, 2010
1 parent a00f90f commit 1ee46eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/sound/soc-dai.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1ee46eb

Please sign in to comment.