summaryrefslogtreecommitdiffstats
path: root/Documentation/sound/alsa/soc/codec.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/sound/alsa/soc/codec.txt')
-rw-r--r--Documentation/sound/alsa/soc/codec.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/Documentation/sound/alsa/soc/codec.txt b/Documentation/sound/alsa/soc/codec.txt
index 47b36cb1684..274657a03e1 100644
--- a/Documentation/sound/alsa/soc/codec.txt
+++ b/Documentation/sound/alsa/soc/codec.txt
@@ -170,11 +170,11 @@ The codec driver also supports the following alsa operations:-
/* SoC audio ops */
struct snd_soc_ops {
- int (*startup)(snd_pcm_substream_t *);
- void (*shutdown)(snd_pcm_substream_t *);
- int (*hw_params)(snd_pcm_substream_t *, snd_pcm_hw_params_t *);
- int (*hw_free)(snd_pcm_substream_t *);
- int (*prepare)(snd_pcm_substream_t *);
+ int (*startup)(struct snd_pcm_substream *);
+ void (*shutdown)(struct snd_pcm_substream *);
+ int (*hw_params)(struct snd_pcm_substream *, struct snd_pcm_hw_params *);
+ int (*hw_free)(struct snd_pcm_substream *);
+ int (*prepare)(struct snd_pcm_substream *);
};
Please refer to the alsa driver PCM documentation for details.