Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi...
[cascardo/linux.git] / include / sound / minors.h
index 8f76420..5978f9a 100644 (file)
@@ -35,7 +35,7 @@
 #define SNDRV_MINOR_TIMER              33      /* SNDRV_MINOR_GLOBAL + 1 * 32 */
 
 #ifndef CONFIG_SND_DYNAMIC_MINORS
-                                               /* 2 - 3 (reserved) */
+#define SNDRV_MINOR_COMPRESS           2       /* 2 - 3 */
 #define SNDRV_MINOR_HWDEP              4       /* 4 - 7 */
 #define SNDRV_MINOR_RAWMIDI            8       /* 8 - 15 */
 #define SNDRV_MINOR_PCM_PLAYBACK       16      /* 16 - 23 */
@@ -49,6 +49,7 @@
 #define SNDRV_DEVICE_TYPE_PCM_CAPTURE  SNDRV_MINOR_PCM_CAPTURE
 #define SNDRV_DEVICE_TYPE_SEQUENCER    SNDRV_MINOR_SEQUENCER
 #define SNDRV_DEVICE_TYPE_TIMER                SNDRV_MINOR_TIMER
+#define SNDRV_DEVICE_TYPE_COMPRESS     SNDRV_MINOR_COMPRESS
 
 #else /* CONFIG_SND_DYNAMIC_MINORS */
 
@@ -60,6 +61,7 @@ enum {
        SNDRV_DEVICE_TYPE_RAWMIDI,
        SNDRV_DEVICE_TYPE_PCM_PLAYBACK,
        SNDRV_DEVICE_TYPE_PCM_CAPTURE,
+       SNDRV_DEVICE_TYPE_COMPRESS,
 };
 
 #endif /* CONFIG_SND_DYNAMIC_MINORS */