Staging: sep: Correct misspelled "remap_page_range" -> "remap_pfn_range"
authorRobert P. J. Day <rpjday@crashcourse.ca>
Wed, 29 Aug 2012 22:48:30 +0000 (18:48 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Sep 2012 21:27:41 +0000 (14:27 -0700)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sep/sep_main.c

index ca8946acba605b88507163a931b91c72d79080c0..a414e52dd082932a95712b87b4e3b39d713a11ed 100644 (file)
@@ -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;