summaryrefslogtreecommitdiff
path: root/sound/core/sound.c
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2008-08-01 15:36:04 +0400
committerJaroslav Kysela <perex@perex.cz>2008-08-01 15:36:04 +0400
commit896e6cc20e67038af12e1a7711eef32647e62f23 (patch)
tree54fc5c48570c75aa2f0a5bbecf0d159006c69638 /sound/core/sound.c
parent687fbc3fece34e7e1c2ac529348ad897095a0bde (diff)
downloadlinux-896e6cc20e67038af12e1a7711eef32647e62f23.tar.xz
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 'sound/core/sound.c')
-rw-r--r--sound/core/sound.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/core/sound.c b/sound/core/sound.c
index 838dd9ee957c..1003ae375d47 100644
--- a/sound/core/sound.c
+++ b/sound/core/sound.c
@@ -34,6 +34,8 @@
#include <linux/kmod.h>
#include <linux/mutex.h>
+#define SNDRV_OS_MINORS 256
+
static int major = CONFIG_SND_MAJOR;
int snd_major;
EXPORT_SYMBOL(snd_major);