aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound/pcm.h
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2008-08-01 07:36:04 -0400
committerJaroslav Kysela <perex@perex.cz>2008-08-01 07:36:04 -0400
commit896e6cc20e67038af12e1a7711eef32647e62f23 (patch)
tree54fc5c48570c75aa2f0a5bbecf0d159006c69638 /include/sound/pcm.h
parent687fbc3fece34e7e1c2ac529348ad897095a0bde (diff)
sound: Revert "ALSA: Fix limit of 8 PCM devices in SNDRV_CTL_IOCTL_PCM_NEXT_DEVICE"
This reverts commit fb3d6f2b77bdec75d45aa9d4464287ed87927866. New, updated patch with same subject replaces this commit. Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'include/sound/pcm.h')
-rw-r--r--include/sound/pcm.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/sound/pcm.h b/include/sound/pcm.h
index bfc096ac82e5..51d58ccda2d8 100644
--- a/include/sound/pcm.h
+++ b/include/sound/pcm.h
@@ -84,6 +84,8 @@ struct snd_pcm_ops {
84 * 84 *
85 */ 85 */
86 86
87#define SNDRV_PCM_DEVICES 8
88
87#define SNDRV_PCM_IOCTL1_FALSE ((void *)0) 89#define SNDRV_PCM_IOCTL1_FALSE ((void *)0)
88#define SNDRV_PCM_IOCTL1_TRUE ((void *)1) 90#define SNDRV_PCM_IOCTL1_TRUE ((void *)1)
89 91
@@ -414,7 +416,7 @@ struct snd_pcm_str {
414struct snd_pcm { 416struct snd_pcm {
415 struct snd_card *card; 417 struct snd_card *card;
416 struct list_head list; 418 struct list_head list;
417 int device; /* device number */ 419 unsigned int device; /* device number */
418 unsigned int info_flags; 420 unsigned int info_flags;
419 unsigned short dev_class; 421 unsigned short dev_class;
420 unsigned short dev_subclass; 422 unsigned short dev_subclass;