summaryrefslogtreecommitdiffstats
path: root/include/sound/driver.h
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2006-01-06 16:34:21 -0500
committerLen Brown <len.brown@intel.com>2006-01-06 16:34:21 -0500
commit25da0974601fc8096461f3d3f7ca3aab8e79adfb (patch)
treef9b3c1bfbc63fdb6a94e82177b8c3ae891125422 /include/sound/driver.h
parent036d25f79ddfbc9878da24ef8e468a6d22caa605 (diff)
parentd99cf9d679a520d67f81d805b7cb91c68e1847f0 (diff)
downloadkernel-crypto-25da0974601fc8096461f3d3f7ca3aab8e79adfb.tar.gz
kernel-crypto-25da0974601fc8096461f3d3f7ca3aab8e79adfb.tar.xz
kernel-crypto-25da0974601fc8096461f3d3f7ca3aab8e79adfb.zip
Auto-update from upstream
Diffstat (limited to 'include/sound/driver.h')
-rw-r--r--include/sound/driver.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/sound/driver.h b/include/sound/driver.h
index 3f0416ac24d..89c6a73f392 100644
--- a/include/sound/driver.h
+++ b/include/sound/driver.h
@@ -28,7 +28,12 @@
#include <linux/config.h>
-#define SNDRV_CARDS 8 /* number of supported soundcards - don't change - minor numbers */
+/* number of supported soundcards */
+#ifdef CONFIG_SND_DYNAMIC_MINORS
+#define SNDRV_CARDS 32
+#else
+#define SNDRV_CARDS 8 /* don't change - minor numbers */
+#endif
#ifndef CONFIG_SND_MAJOR /* standard configuration */
#define CONFIG_SND_MAJOR 116