aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/s3fb.c
diff options
context:
space:
mode:
authorDavid Miller <davem@davemloft.net>2011-01-11 18:51:56 -0500
committerPaul Mundt <lethal@linux-sh.org>2011-03-22 02:47:15 -0400
commit9c96394bb90f855d265116f37897294fa1bdb072 (patch)
tree32be68190d978f04b075a8036836edd9294b82b1 /drivers/video/s3fb.c
parent1d28fcadb0e277844ebffb528cdfd25d44591035 (diff)
svga: Make svga_set_textmode_vga_regs() take an iomem regbase pointer.
Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/video/s3fb.c')
-rw-r--r--drivers/video/s3fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/s3fb.c b/drivers/video/s3fb.c
index a7a2463663c4..017219565800 100644
--- a/drivers/video/s3fb.c
+++ b/drivers/video/s3fb.c
@@ -604,7 +604,7 @@ static int s3fb_set_par(struct fb_info *info)
604 switch (mode) { 604 switch (mode) {
605 case 0: 605 case 0:
606 pr_debug("fb%d: text mode\n", info->node); 606 pr_debug("fb%d: text mode\n", info->node);
607 svga_set_textmode_vga_regs(); 607 svga_set_textmode_vga_regs(par->state.vgabase);
608 608
609 /* Set additional registers like in 8-bit mode */ 609 /* Set additional registers like in 8-bit mode */
610 svga_wcrt_mask(par->state.vgabase, 0x50, 0x00, 0x30); 610 svga_wcrt_mask(par->state.vgabase, 0x50, 0x00, 0x30);