diff options
author | Takashi Iwai <tiwai@suse.de> | 2008-01-08 12:13:27 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-01-31 11:29:48 -0500 |
commit | 9004acc70e8c49c50c4c7b652f906f1e0ed5709d (patch) | |
tree | de504d87cc727b4ecab5718522ce94890f349149 /include/sound/core.h | |
parent | 31e8960b35975ed235d283d6fb95d0e28dffded0 (diff) |
[ALSA] Remove sound/driver.h
This header file exists only for some hacks to adapt alsa-driver
tree. It's useless for building in the kernel. Let's move a few
lines in it to sound/core.h and remove it.
With this patch, sound/driver.h isn't removed but has just a single
compile warning to include it. This should be really killed in
future.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
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; |