Commit e0e6ce03 authored by Randy Dunlap's avatar Randy Dunlap Committed by Jaroslav Kysela

[ALSA] add struct snd_pcm_substream forward declaration

fixes: include/sound/pcm.h:62: warning: 'struct snd_pcm_substream' declared
inside parameter list
Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarJaroslav Kysela <perex@suse.cz>
parent eb41dab6
......@@ -56,6 +56,8 @@ struct snd_pcm_hardware {
size_t fifo_size; /* fifo size in bytes */
};
struct snd_pcm_substream;
struct snd_pcm_ops {
int (*open)(struct snd_pcm_substream *substream);
int (*close)(struct snd_pcm_substream *substream);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment