aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound/pcm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sound/pcm.h')
-rw-r--r--include/sound/pcm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sound/pcm.h b/include/sound/pcm.h
index 1d4ca2aae50d..aabf48bb8ee6 100644
--- a/include/sound/pcm.h
+++ b/include/sound/pcm.h
@@ -1021,6 +1021,10 @@ int snd_pcm_lib_mmap_iomem(struct snd_pcm_substream *substream, struct vm_area_s
1021#define snd_pcm_lib_mmap_iomem NULL 1021#define snd_pcm_lib_mmap_iomem NULL
1022#endif 1022#endif
1023 1023
1024int snd_pcm_lib_mmap_noncached(struct snd_pcm_substream *substream,
1025 struct vm_area_struct *area);
1026#define snd_pcm_lib_mmap_vmalloc snd_pcm_lib_mmap_noncached
1027
1024static inline void snd_pcm_limit_isa_dma_size(int dma, size_t *max) 1028static inline void snd_pcm_limit_isa_dma_size(int dma, size_t *max)
1025{ 1029{
1026 *max = dma < 4 ? 64 * 1024 : 128 * 1024; 1030 *max = dma < 4 ? 64 * 1024 : 128 * 1024;