X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fsound%2Fcore.h;h=4fc0235ad78433a314f4b2f406a47d8e1c5827fc;hb=75659ca0c10992dcb39258518368a0f6f56e935d;hp=6954836487ed3407e217a3d005057ee77a8ad7c1;hpb=81f8320f624a785d77443ace83391d0fdee695f6;p=linux-2.6 diff --git a/include/sound/core.h b/include/sound/core.h index 6954836487..4fc0235ad7 100644 --- a/include/sound/core.h +++ b/include/sound/core.h @@ -22,12 +22,22 @@ * */ +#include #include /* wake_up() */ #include /* struct mutex */ #include /* struct rw_semaphore */ #include /* pm_message_t */ #include +/* number of supported soundcards */ +#ifdef CONFIG_SND_DYNAMIC_MINORS +#define SNDRV_CARDS 32 +#else +#define SNDRV_CARDS 8 /* don't change - minor numbers */ +#endif + +#define CONFIG_SND_MAJOR 116 /* standard configuration */ + /* forward declarations */ #ifdef CONFIG_PCI struct pci_dev;