diff options
author | David S. Miller <davem@davemloft.net> | 2008-08-27 03:33:26 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-08-29 05:14:58 -0400 |
commit | 759ee81be6d87c150ea2b300c221b4fec8b5f646 (patch) | |
tree | 282aaa15a97bec11d593b3157f1ecbd19cc558a6 /include/sound | |
parent | 12b1c03df10da61e222b86f0e1ece9cdb2a909d6 (diff) |
alsa: Remove special SBUS dma support code.
No longer used.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/core.h | 3 | ||||
-rw-r--r-- | include/sound/memalloc.h | 2 |
2 files changed, 0 insertions, 5 deletions
diff --git a/include/sound/core.h b/include/sound/core.h index 558b96284bd2..821d5a59d28b 100644 --- a/include/sound/core.h +++ b/include/sound/core.h | |||
@@ -42,9 +42,6 @@ | |||
42 | #ifdef CONFIG_PCI | 42 | #ifdef CONFIG_PCI |
43 | struct pci_dev; | 43 | struct pci_dev; |
44 | #endif | 44 | #endif |
45 | #ifdef CONFIG_SBUS | ||
46 | struct sbus_dev; | ||
47 | #endif | ||
48 | 45 | ||
49 | /* device allocation stuff */ | 46 | /* device allocation stuff */ |
50 | 47 | ||
diff --git a/include/sound/memalloc.h b/include/sound/memalloc.h index ae2921d9ddcc..6a3e7558a7e6 100644 --- a/include/sound/memalloc.h +++ b/include/sound/memalloc.h | |||
@@ -37,7 +37,6 @@ struct snd_dma_device { | |||
37 | #ifndef snd_dma_pci_data | 37 | #ifndef snd_dma_pci_data |
38 | #define snd_dma_pci_data(pci) (&(pci)->dev) | 38 | #define snd_dma_pci_data(pci) (&(pci)->dev) |
39 | #define snd_dma_isa_data() NULL | 39 | #define snd_dma_isa_data() NULL |
40 | #define snd_dma_sbus_data(sbus) ((struct device *)(sbus)) | ||
41 | #define snd_dma_continuous_data(x) ((struct device *)(unsigned long)(x)) | 40 | #define snd_dma_continuous_data(x) ((struct device *)(unsigned long)(x)) |
42 | #endif | 41 | #endif |
43 | 42 | ||
@@ -49,7 +48,6 @@ struct snd_dma_device { | |||
49 | #define SNDRV_DMA_TYPE_CONTINUOUS 1 /* continuous no-DMA memory */ | 48 | #define SNDRV_DMA_TYPE_CONTINUOUS 1 /* continuous no-DMA memory */ |
50 | #define SNDRV_DMA_TYPE_DEV 2 /* generic device continuous */ | 49 | #define SNDRV_DMA_TYPE_DEV 2 /* generic device continuous */ |
51 | #define SNDRV_DMA_TYPE_DEV_SG 3 /* generic device SG-buffer */ | 50 | #define SNDRV_DMA_TYPE_DEV_SG 3 /* generic device SG-buffer */ |
52 | #define SNDRV_DMA_TYPE_SBUS 4 /* SBUS continuous */ | ||
53 | 51 | ||
54 | /* | 52 | /* |
55 | * info for buffer allocation | 53 | * info for buffer allocation |