aboutsummaryrefslogtreecommitdiffstats
path: root/sound/arm/devdma.c
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2006-01-07 09:40:05 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-01-07 09:40:05 -0500
commit123656d4cc8c946f578ebd18c2050f5251720428 (patch)
tree3d5432eff034a3b9cfdc98b37e245abe5695342d /sound/arm/devdma.c
parenta62c80e559809e6c7851ec04d30575e85ad6f6ed (diff)
parent0aec63e67c69545ca757a73a66f5dcf05fa484bf (diff)
Merge with Linus' kernel.
Diffstat (limited to 'sound/arm/devdma.c')
-rw-r--r--sound/arm/devdma.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sound/arm/devdma.c b/sound/arm/devdma.c
index 60826a5324b4..ca3bf4ee05a3 100644
--- a/sound/arm/devdma.c
+++ b/sound/arm/devdma.c
@@ -18,9 +18,9 @@
18 18
19#include "devdma.h" 19#include "devdma.h"
20 20
21void devdma_hw_free(struct device *dev, snd_pcm_substream_t *substream) 21void devdma_hw_free(struct device *dev, struct snd_pcm_substream *substream)
22{ 22{
23 snd_pcm_runtime_t *runtime = substream->runtime; 23 struct snd_pcm_runtime *runtime = substream->runtime;
24 struct snd_dma_buffer *buf = runtime->dma_buffer_p; 24 struct snd_dma_buffer *buf = runtime->dma_buffer_p;
25 25
26 if (runtime->dma_area == NULL) 26 if (runtime->dma_area == NULL)
@@ -34,9 +34,9 @@ void devdma_hw_free(struct device *dev, snd_pcm_substream_t *substream)
34 snd_pcm_set_runtime_buffer(substream, NULL); 34 snd_pcm_set_runtime_buffer(substream, NULL);
35} 35}
36 36
37int devdma_hw_alloc(struct device *dev, snd_pcm_substream_t *substream, size_t size) 37int devdma_hw_alloc(struct device *dev, struct snd_pcm_substream *substream, size_t size)
38{ 38{
39 snd_pcm_runtime_t *runtime = substream->runtime; 39 struct snd_pcm_runtime *runtime = substream->runtime;
40 struct snd_dma_buffer *buf = runtime->dma_buffer_p; 40 struct snd_dma_buffer *buf = runtime->dma_buffer_p;
41 int ret = 0; 41 int ret = 0;
42 42
@@ -74,8 +74,8 @@ int devdma_hw_alloc(struct device *dev, snd_pcm_substream_t *substream, size_t s
74 return -ENOMEM; 74 return -ENOMEM;
75} 75}
76 76
77int devdma_mmap(struct device *dev, snd_pcm_substream_t *substream, struct vm_area_struct *vma) 77int devdma_mmap(struct device *dev, struct snd_pcm_substream *substream, struct vm_area_struct *vma)
78{ 78{
79 snd_pcm_runtime_t *runtime = substream->runtime; 79 struct snd_pcm_runtime *runtime = substream->runtime;
80 return dma_mmap_coherent(dev, vma, runtime->dma_area, runtime->dma_addr, runtime->dma_bytes); 80 return dma_mmap_coherent(dev, vma, runtime->dma_area, runtime->dma_addr, runtime->dma_bytes);
81} 81}