diff options
| author | Al Viro <viro@www.linux.org.uk> | 2005-08-23 17:45:06 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-08-23 21:43:40 -0400 |
| commit | 276bd31ce5af01350465861af7aa6a25864eb108 (patch) | |
| tree | 5fb22ae8b2ef903d27850f7894ed669fabce96ad /include/sound | |
| parent | e9bcb173dd1747075214a1ccdb65dc6320cae49d (diff) | |
[PATCH] Kconfig fix (ISA_DMA_API and sound/*)
fixed kconfig dependencies on ISA_DMA_API for parts of sound/* that rely
on it.
Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/sound')
| -rw-r--r-- | include/sound/core.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/core.h b/include/sound/core.h index 38b357fc8958..f72b3ef515e2 100644 --- a/include/sound/core.h +++ b/include/sound/core.h | |||
| @@ -360,11 +360,13 @@ int snd_device_free_all(snd_card_t *card, snd_device_cmd_t cmd); | |||
| 360 | 360 | ||
| 361 | /* isadma.c */ | 361 | /* isadma.c */ |
| 362 | 362 | ||
| 363 | #ifdef CONFIG_ISA_DMA_API | ||
| 363 | #define DMA_MODE_NO_ENABLE 0x0100 | 364 | #define DMA_MODE_NO_ENABLE 0x0100 |
| 364 | 365 | ||
| 365 | void snd_dma_program(unsigned long dma, unsigned long addr, unsigned int size, unsigned short mode); | 366 | void snd_dma_program(unsigned long dma, unsigned long addr, unsigned int size, unsigned short mode); |
| 366 | void snd_dma_disable(unsigned long dma); | 367 | void snd_dma_disable(unsigned long dma); |
| 367 | unsigned int snd_dma_pointer(unsigned long dma, unsigned int size); | 368 | unsigned int snd_dma_pointer(unsigned long dma, unsigned int size); |
| 369 | #endif | ||
| 368 | 370 | ||
| 369 | /* misc.c */ | 371 | /* misc.c */ |
| 370 | 372 | ||
