diff options
author | David Woodhouse <dwmw2@infradead.org> | 2008-02-03 02:29:41 -0500 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2008-02-03 02:30:32 -0500 |
commit | c1f3ee120bb61045b1c0a3ead620d1d65af47130 (patch) | |
tree | 908430bf2b47fe8e96ac623ae7ab6dd5698d0938 /include/sound/core.h | |
parent | e619a75ff6201b567a539e787aa9af9bc63a3187 (diff) | |
parent | 9135f1901ee6449dfe338adf6e40e9c2025b8150 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Diffstat (limited to 'include/sound/core.h')
-rw-r--r-- | include/sound/core.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/sound/core.h b/include/sound/core.h index 6954836487ed..4fc0235ad784 100644 --- a/include/sound/core.h +++ b/include/sound/core.h | |||
@@ -22,12 +22,22 @@ | |||
22 | * | 22 | * |
23 | */ | 23 | */ |
24 | 24 | ||
25 | #include <linux/module.h> | ||
25 | #include <linux/sched.h> /* wake_up() */ | 26 | #include <linux/sched.h> /* wake_up() */ |
26 | #include <linux/mutex.h> /* struct mutex */ | 27 | #include <linux/mutex.h> /* struct mutex */ |
27 | #include <linux/rwsem.h> /* struct rw_semaphore */ | 28 | #include <linux/rwsem.h> /* struct rw_semaphore */ |
28 | #include <linux/pm.h> /* pm_message_t */ | 29 | #include <linux/pm.h> /* pm_message_t */ |
29 | #include <linux/device.h> | 30 | #include <linux/device.h> |
30 | 31 | ||
32 | /* number of supported soundcards */ | ||
33 | #ifdef CONFIG_SND_DYNAMIC_MINORS | ||
34 | #define SNDRV_CARDS 32 | ||
35 | #else | ||
36 | #define SNDRV_CARDS 8 /* don't change - minor numbers */ | ||
37 | #endif | ||
38 | |||
39 | #define CONFIG_SND_MAJOR 116 /* standard configuration */ | ||
40 | |||
31 | /* forward declarations */ | 41 | /* forward declarations */ |
32 | #ifdef CONFIG_PCI | 42 | #ifdef CONFIG_PCI |
33 | struct pci_dev; | 43 | struct pci_dev; |