aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound/pcm.h
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2006-12-07 08:22:50 +0100
committerJaroslav Kysela <perex@suse.cz>2007-02-09 09:02:19 +0100
commite0e6ce0380e0c4de35371372bc5b6c2b02458597 (patch)
tree964bb866987b59a2fd7a204092d182c09b837cab /include/sound/pcm.h
parenteb41dab6e10332c1c9008f3cfc5b88ff1e392cb9 (diff)
downloadkernel_samsung_smdk4412-e0e6ce0380e0c4de35371372bc5b6c2b02458597.zip
kernel_samsung_smdk4412-e0e6ce0380e0c4de35371372bc5b6c2b02458597.tar.gz
kernel_samsung_smdk4412-e0e6ce0380e0c4de35371372bc5b6c2b02458597.tar.bz2
[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>
Diffstat (limited to 'include/sound/pcm.h')
-rw-r--r--include/sound/pcm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/pcm.h b/include/sound/pcm.h
index ec006ed..ee6bc2d 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);