diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-07-26 04:27:53 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-07-26 04:27:53 -0400 |
commit | 6d3488a5acc64b79773ada12060babe90c0fb130 (patch) | |
tree | 6cb87deb22d3a95d087568ee7f96926e5d35fb1c | |
parent | 8a896baafc951dd97d40a07a1cd1789c1c02c4bf (diff) |
fbdev/sgivwfb: fix compilation error in sgivwfb_mmap()
Commit c84deb9d615c02993ce0972a0b34585c7624822f ("fbdev/sgivwfb: use
vm_iomap_memory()") changed sgivwfb_mmap() to use the new
vm_iomap_memory() function. The commit introduced the following
compilation error:
drivers/video/sgivwfb.c:716:9: note: each undeclared identifier is
reported only once for each function it appears in
This patch fixes the error.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
-rw-r--r-- | drivers/video/sgivwfb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/sgivwfb.c b/drivers/video/sgivwfb.c index b2a8912f6435..a9ac3ce2d0e9 100644 --- a/drivers/video/sgivwfb.c +++ b/drivers/video/sgivwfb.c | |||
@@ -713,7 +713,7 @@ static int sgivwfb_mmap(struct fb_info *info, | |||
713 | r = vm_iomap_memory(vma, sgivwfb_mem_phys, sgivwfb_mem_size); | 713 | r = vm_iomap_memory(vma, sgivwfb_mem_phys, sgivwfb_mem_size); |
714 | 714 | ||
715 | printk(KERN_DEBUG "sgivwfb: mmap framebuffer P(%lx)->V(%lx)\n", | 715 | printk(KERN_DEBUG "sgivwfb: mmap framebuffer P(%lx)->V(%lx)\n", |
716 | offset, vma->vm_start); | 716 | sgivwfb_mem_phys + (vma->vm_pgoff << PAGE_SHIFT), vma->vm_start); |
717 | 717 | ||
718 | return r; | 718 | return r; |
719 | } | 719 | } |