]> err.no Git - linux-2.6/blobdiff - include/sound/driver.h
powerpc/32: Define an is_kernel_addr() to fix ARCH=ppc compilation
[linux-2.6] / include / sound / driver.h
index 3f0416ac24d95fe9d711165451028e7e85a38747..89c6a73f39206b06691aee19dab5a29c26327d74 100644 (file)
 
 #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