From: Randy Dunlap Date: Thu, 7 Dec 2006 07:22:50 +0000 (+0100) Subject: [ALSA] add struct snd_pcm_substream forward declaration X-Git-Tag: v2.6.21-rc1~83^2~62^2~100 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0e6ce0380e0c4de35371372bc5b6c2b02458597;hp=eb41dab6e10332c1c9008f3cfc5b88ff1e392cb9;p=linux-2.6 [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 Signed-off-by: Andrew Morton Signed-off-by: Jaroslav Kysela --- diff --git a/include/sound/pcm.h b/include/sound/pcm.h index ec006ed8cd..ee6bc2d068 100644 --- a/include/sound/pcm.h +++ b/include/sound/pcm.h @@ -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);