Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 472
b: refs/heads/master
c: 0d3e8fe
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro authored and Linus Torvalds committed Apr 26, 2005
1 parent 7663fd1 commit be351dd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9727d04aa6d58e131128b4178e742c423480d476
refs/heads/master: 0d3e8fe662c31d614f809d0131e134e2692d6a68
6 changes: 3 additions & 3 deletions trunk/drivers/video/savage/savagefb_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -1498,7 +1498,7 @@ static int __devinit savage_map_mmio (struct fb_info *info)
info->fix.mmio_start = par->mmio.pbase;
info->fix.mmio_len = par->mmio.len;

par->bci_base = (u32*)(par->mmio.vbase + BCI_BUFFER_OFFSET);
par->bci_base = (u32 __iomem *)(par->mmio.vbase + BCI_BUFFER_OFFSET);
par->bci_ptr = 0;

savage_enable_mmio (par);
Expand All @@ -1514,7 +1514,7 @@ static void __devinit savage_unmap_mmio (struct fb_info *info)
savage_disable_mmio(par);

if (par->mmio.vbase) {
iounmap ((void *)par->mmio.vbase);
iounmap(par->mmio.vbase);
par->mmio.vbase = NULL;
}
}
Expand Down Expand Up @@ -1553,7 +1553,7 @@ static int __devinit savage_map_video (struct fb_info *info,
#endif

/* Clear framebuffer, it's all white in memory after boot */
memset (par->video.vbase, 0, par->video.len);
memset_io (par->video.vbase, 0, par->video.len);

return 0;
}
Expand Down

0 comments on commit be351dd

Please sign in to comment.