]> err.no Git - linux-2.6/blobdiff - include/sound/pcm.h
[ALSA] add struct snd_pcm_substream forward declaration
[linux-2.6] / include / sound / pcm.h
index 016c41893b06b18715609baca38c0dc6406f0806..ee6bc2d0680321f4b7d10af1d2c1c3d16c2b98e8 100644 (file)
@@ -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);
@@ -384,6 +386,7 @@ struct snd_pcm_substream {
        struct snd_info_entry *proc_sw_params_entry;
        struct snd_info_entry *proc_status_entry;
        struct snd_info_entry *proc_prealloc_entry;
+       struct snd_info_entry *proc_prealloc_max_entry;
 #endif
        /* misc flags */
        unsigned int hw_opened: 1;