summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Farrugia <mark.farrugia@fiberdyne.com.au>2018-08-30 18:14:54 +1000
committerMark Farrugia <mark.farrugia@fiberdyne.com.au>2018-10-26 17:27:27 +1100
commit5594ba3d7b122052ef3a1de6812cca5d92cdbbc8 (patch)
tree50848b6c8d378ce606a2a65d94c1201c14676d07
parent9461e4c40e95e42bd7e63c25a8f466c3633d9226 (diff)
Remove snd_pcm_lib_mmap_vmalloc from default pcm_ops struct.
This has been removed as of Linux kernel 4.18 Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
-rw-r--r--alsa-pcm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/alsa-pcm.c b/alsa-pcm.c
index efe64f2..342188b 100644
--- a/alsa-pcm.c
+++ b/alsa-pcm.c
@@ -375,7 +375,6 @@ struct snd_pcm_ops pcm_ops = {
.copy_user = pcm_copy_user,
.copy_kernel = pcm_copy_kernel,
.page = snd_pcm_lib_get_vmalloc_page,
- .mmap = snd_pcm_lib_mmap_vmalloc,
.ack = pcm_ack,
};