Commit 375d8886 authored by Robert P. J. Day's avatar Robert P. J. Day Committed by Greg Kroah-Hartman

Staging: sep: Correct misspelled "remap_page_range" -> "remap_pfn_range"

Signed-off-by: default avatarRobert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d328ddd2
...@@ -719,7 +719,7 @@ static int sep_mmap(struct file *filp, struct vm_area_struct *vma) ...@@ -719,7 +719,7 @@ static int sep_mmap(struct file *filp, struct vm_area_struct *vma)
if (remap_pfn_range(vma, vma->vm_start, bus_addr >> PAGE_SHIFT, if (remap_pfn_range(vma, vma->vm_start, bus_addr >> PAGE_SHIFT,
vma->vm_end - vma->vm_start, vma->vm_page_prot)) { vma->vm_end - vma->vm_start, vma->vm_page_prot)) {
dev_dbg(&sep->pdev->dev, "[PID%d] remap_page_range failed\n", dev_dbg(&sep->pdev->dev, "[PID%d] remap_pfn_range failed\n",
current->pid); current->pid);
error = -EAGAIN; error = -EAGAIN;
goto end_function_with_error; goto end_function_with_error;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment