summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRussell King <rmk@arm.linux.org.uk>2002-04-14 23:29:47 -0700
committerLinus Torvalds <torvalds@penguin.transmeta.com>2002-04-14 23:29:47 -0700
commit3c195d84e8914f401258acb06c53074583daa83c (patch)
tree52a84266ad49df4b09401274c39a95155e79b2ef /include
parent49c7ca7c5b721db65583876e0c11f1316eecd397 (diff)
[PATCH] 2.5.7 ALSA include fixes
Include fixes to allow ALSA to compile.
Diffstat (limited to 'include')
-rw-r--r--include/sound/asound.h1
-rw-r--r--include/sound/core.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/asound.h b/include/sound/asound.h
index 3c7df6d59649..8ea3e38a656b 100644
--- a/include/sound/asound.h
+++ b/include/sound/asound.h
@@ -30,6 +30,7 @@
#ifdef __KERNEL__
#include <linux/types.h>
+#include <linux/time.h>
#include <asm/byteorder.h>
#if __LITTLE_ENDIAN == 1234
diff --git a/include/sound/core.h b/include/sound/core.h
index 94590bff56fb..4374ac83c750 100644
--- a/include/sound/core.h
+++ b/include/sound/core.h
@@ -252,6 +252,7 @@ void *snd_malloc_isa_pages_fallback(unsigned long size, dma_addr_t *dma_addr, un
#define snd_free_isa_pages(size, ptr, dma_addr) snd_free_pages(ptr, size)
#endif
#ifdef CONFIG_PCI
+struct pci_dev;
void *snd_malloc_pci_pages(struct pci_dev *pci, unsigned long size, dma_addr_t *dma_addr);
void *snd_malloc_pci_pages_fallback(struct pci_dev *pci, unsigned long size, dma_addr_t *dma_addr, unsigned long *res_size);
void snd_free_pci_pages(struct pci_dev *pci, unsigned long size, void *ptr, dma_addr_t dma_addr);