Skip to content

Commit

Permalink
Staging: sep: Correct misspelled "remap_page_range" -> "remap_pfn_range"
Browse files Browse the repository at this point in the history
Signed-off-by: Robert P. J. Day <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
rpjday authored and gregkh committed Sep 4, 2012
1 parent d328ddd commit 375d888
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/sep/sep_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
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);
error = -EAGAIN;
goto end_function_with_error;
Expand Down

0 comments on commit 375d888

Please sign in to comment.