Commit 3c195d84 authored by Russell King's avatar Russell King Committed by Linus Torvalds

[PATCH] 2.5.7 ALSA include fixes

Include fixes to allow ALSA to compile.
parent 49c7ca7c
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
#ifdef __KERNEL__ #ifdef __KERNEL__
#include <linux/types.h> #include <linux/types.h>
#include <linux/time.h>
#include <asm/byteorder.h> #include <asm/byteorder.h>
#if __LITTLE_ENDIAN == 1234 #if __LITTLE_ENDIAN == 1234
......
...@@ -252,6 +252,7 @@ void *snd_malloc_isa_pages_fallback(unsigned long size, dma_addr_t *dma_addr, un ...@@ -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) #define snd_free_isa_pages(size, ptr, dma_addr) snd_free_pages(ptr, size)
#endif #endif
#ifdef CONFIG_PCI #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(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_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); void snd_free_pci_pages(struct pci_dev *pci, unsigned long size, void *ptr, dma_addr_t dma_addr);
......
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/time.h> #include <linux/time.h>
#include <sound/core.h> #include <sound/core.h>
#include <linux/errno.h>
int snd_device_new(snd_card_t *card, snd_device_type_t type, int snd_device_new(snd_card_t *card, snd_device_type_t type,
void *device_data, snd_device_ops_t *ops) void *device_data, snd_device_ops_t *ops)
......
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
#include <linux/init.h> #include <linux/init.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/time.h> #include <linux/time.h>
#include <linux/pci.h>
#include <sound/core.h> #include <sound/core.h>
#include <sound/info.h> #include <sound/info.h>
......
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
#include <sound/driver.h> #include <sound/driver.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/slab.h>
#include <sound/core.h> #include <sound/core.h>
#include "seq_clientmgr.h" #include "seq_clientmgr.h"
#include <sound/initval.h> #include <sound/initval.h>
......
...@@ -29,6 +29,8 @@ Possible options for midisynth module: ...@@ -29,6 +29,8 @@ Possible options for midisynth module:
#include <sound/driver.h> #include <sound/driver.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/errno.h>
#include <asm/semaphore.h>
#include <sound/core.h> #include <sound/core.h>
#include <sound/rawmidi.h> #include <sound/rawmidi.h>
#include <sound/seq_kernel.h> #include <sound/seq_kernel.h>
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
#include <sound/driver.h> #include <sound/driver.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/errno.h>
#include <sound/core.h> #include <sound/core.h>
#include <sound/seq_kernel.h> #include <sound/seq_kernel.h>
#include <sound/seq_midi_event.h> #include <sound/seq_midi_event.h>
......
...@@ -29,6 +29,8 @@ ...@@ -29,6 +29,8 @@
#include <linux/init.h> #include <linux/init.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/ioport.h> #include <linux/ioport.h>
#include <linux/sched.h>
#include <linux/errno.h>
#include <sound/core.h> #include <sound/core.h>
#include <sound/mpu401.h> #include <sound/mpu401.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment