[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: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
This commit is contained in:
Randy Dunlap 2006-12-07 08:22:50 +01:00 committed by Jaroslav Kysela
parent eb41dab6e1
commit e0e6ce0380

View File

@ -56,6 +56,8 @@ struct snd_pcm_hardware {
size_t fifo_size; /* fifo size in bytes */ size_t fifo_size; /* fifo size in bytes */
}; };
struct snd_pcm_substream;
struct snd_pcm_ops { struct snd_pcm_ops {
int (*open)(struct snd_pcm_substream *substream); int (*open)(struct snd_pcm_substream *substream);
int (*close)(struct snd_pcm_substream *substream); int (*close)(struct snd_pcm_substream *substream);