X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fsound%2Fdriver.h;h=3c522e59a33cf041f75d3fbf82e1ca7ccd6f31af;hb=54b8c39fbd76a7341b66e49de677ea366737fce7;hp=3f0416ac24d95fe9d711165451028e7e85a38747;hpb=3f00d3e8fb963968a922d821a9a53b503b687e81;p=linux-2.6 diff --git a/include/sound/driver.h b/include/sound/driver.h index 3f0416ac24..3c522e59a3 100644 --- a/include/sound/driver.h +++ b/include/sound/driver.h @@ -26,9 +26,13 @@ #include "config.h" #endif -#include -#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