summaryrefslogtreecommitdiff
path: root/include/sound
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-08-27 00:33:26 -0700
committerDavid S. Miller <davem@davemloft.net>2008-08-29 02:14:58 -0700
commit759ee81be6d87c150ea2b300c221b4fec8b5f646 (patch)
tree282aaa15a97bec11d593b3157f1ecbd19cc558a6 /include/sound
parent12b1c03df10da61e222b86f0e1ece9cdb2a909d6 (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.h3
-rw-r--r--include/sound/memalloc.h2
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 @@
#ifdef CONFIG_PCI
struct pci_dev;
#endif
-#ifdef CONFIG_SBUS
-struct sbus_dev;
-#endif
/* device allocation stuff */
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 {
#ifndef snd_dma_pci_data
#define snd_dma_pci_data(pci) (&(pci)->dev)
#define snd_dma_isa_data() NULL
-#define snd_dma_sbus_data(sbus) ((struct device *)(sbus))
#define snd_dma_continuous_data(x) ((struct device *)(unsigned long)(x))
#endif
@@ -49,7 +48,6 @@ struct snd_dma_device {
#define SNDRV_DMA_TYPE_CONTINUOUS 1 /* continuous no-DMA memory */
#define SNDRV_DMA_TYPE_DEV 2 /* generic device continuous */
#define SNDRV_DMA_TYPE_DEV_SG 3 /* generic device SG-buffer */
-#define SNDRV_DMA_TYPE_SBUS 4 /* SBUS continuous */
/*
* info for buffer allocation