All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] ASoC: Make the DAI ops constant in the DAI structure
@ 2010-12-02 17:05 Mark Brown
  2010-12-02 17:05 ` [PATCH 2/2] ASoC: Move active copy of CODEC read and write into runtime structure Mark Brown
  2010-12-03 10:21 ` [PATCH 1/2] ASoC: Make the DAI ops constant in the DAI structure Liam Girdwood
  0 siblings, 2 replies; 3+ messages in thread
From: Mark Brown @ 2010-12-02 17:05 UTC (permalink / raw)
  To: Liam Girdwood; +Cc: alsa-devel, patches, Mark Brown

Neither drivers nor the core should be fiddling with the actual ops
structure at runtime.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
 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 0195b7e..1bafe95 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;
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-12-03 10:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-02 17:05 [PATCH 1/2] ASoC: Make the DAI ops constant in the DAI structure Mark Brown
2010-12-02 17:05 ` [PATCH 2/2] ASoC: Move active copy of CODEC read and write into runtime structure Mark Brown
2010-12-03 10:21 ` [PATCH 1/2] ASoC: Make the DAI ops constant in the DAI structure Liam Girdwood

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.