diff options
-rw-r--r-- | sound/core/pcm_native.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/core/pcm_native.c b/sound/core/pcm_native.c index 159706cf8f05..0e875d5a9e86 100644 --- a/sound/core/pcm_native.c +++ b/sound/core/pcm_native.c | |||
@@ -3234,7 +3234,7 @@ static __poll_t snd_pcm_capture_poll(struct file *file, poll_table * wait) | |||
3234 | /* | 3234 | /* |
3235 | * mmap status record | 3235 | * mmap status record |
3236 | */ | 3236 | */ |
3237 | static int snd_pcm_mmap_status_fault(struct vm_fault *vmf) | 3237 | static vm_fault_t snd_pcm_mmap_status_fault(struct vm_fault *vmf) |
3238 | { | 3238 | { |
3239 | struct snd_pcm_substream *substream = vmf->vma->vm_private_data; | 3239 | struct snd_pcm_substream *substream = vmf->vma->vm_private_data; |
3240 | struct snd_pcm_runtime *runtime; | 3240 | struct snd_pcm_runtime *runtime; |
@@ -3270,7 +3270,7 @@ static int snd_pcm_mmap_status(struct snd_pcm_substream *substream, struct file | |||
3270 | /* | 3270 | /* |
3271 | * mmap control record | 3271 | * mmap control record |
3272 | */ | 3272 | */ |
3273 | static int snd_pcm_mmap_control_fault(struct vm_fault *vmf) | 3273 | static vm_fault_t snd_pcm_mmap_control_fault(struct vm_fault *vmf) |
3274 | { | 3274 | { |
3275 | struct snd_pcm_substream *substream = vmf->vma->vm_private_data; | 3275 | struct snd_pcm_substream *substream = vmf->vma->vm_private_data; |
3276 | struct snd_pcm_runtime *runtime; | 3276 | struct snd_pcm_runtime *runtime; |
@@ -3359,7 +3359,7 @@ snd_pcm_default_page_ops(struct snd_pcm_substream *substream, unsigned long ofs) | |||
3359 | /* | 3359 | /* |
3360 | * fault callback for mmapping a RAM page | 3360 | * fault callback for mmapping a RAM page |
3361 | */ | 3361 | */ |
3362 | static int snd_pcm_mmap_data_fault(struct vm_fault *vmf) | 3362 | static vm_fault_t snd_pcm_mmap_data_fault(struct vm_fault *vmf) |
3363 | { | 3363 | { |
3364 | struct snd_pcm_substream *substream = vmf->vma->vm_private_data; | 3364 | struct snd_pcm_substream *substream = vmf->vma->vm_private_data; |
3365 | struct snd_pcm_runtime *runtime; | 3365 | struct snd_pcm_runtime *runtime; |