Skip to content

Commit

Permalink
remap_pfn_range() is also deprecated in favor of functions like iorem…
Browse files Browse the repository at this point in the history
…ap_pfn_range()
  • Loading branch information
ruck314 committed Feb 27, 2024
1 parent 77e4e6e commit 31d35ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/driver/dma_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -1096,7 +1096,7 @@ int Dma_Mmap(struct file *filp, struct vm_area_struct *vma)
}
// Map streaming buffer or ARM ACP
else if (dev->cfgMode & BUFF_STREAM || dev->cfgMode & BUFF_ARM_ACP) {
ret = remap_pfn_range(vma, vma->vm_start,
ret = io_remap_pfn_range(vma, vma->vm_start,
virt_to_phys((void *)buff->buffAddr) >> PAGE_SHIFT,
vsize, vma->vm_page_prot);
} else {
Expand Down

0 comments on commit 31d35ca

Please sign in to comment.