diff options
Diffstat (limited to 'sound/core/memalloc_local.h')
-rw-r--r-- | sound/core/memalloc_local.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/core/memalloc_local.h b/sound/core/memalloc_local.h index fe55416253bf..dbea7f2aed07 100644 --- a/sound/core/memalloc_local.h +++ b/sound/core/memalloc_local.h @@ -9,6 +9,7 @@ struct snd_malloc_ops { struct page *(*get_page)(struct snd_dma_buffer *dmab, size_t offset); unsigned int (*get_chunk_size)(struct snd_dma_buffer *dmab, unsigned int ofs, unsigned int size); + int (*mmap)(struct snd_dma_buffer *dmab, struct vm_area_struct *area); }; #ifdef CONFIG_SND_DMA_SGBUF |