aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/s3fb.c
diff options
context:
space:
mode:
authorDavid Miller <davem@davemloft.net>2011-01-11 18:49:18 -0500
committerPaul Mundt <lethal@linux-sh.org>2011-03-22 02:46:40 -0400
commitf6b0cc477de99fe715f1071b13ab822daed9a34f (patch)
tree44c597c18899d1434c549cd3d3fb7a991537a406 /drivers/video/s3fb.c
parent1284e49cf186eaa19056e85a76a443d4eca8995d (diff)
svga: Make svga_wattr take an iomem regbase pointer.
And use vga_{r,w}(). 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 75738a928610..bcbf098a41c7 100644
--- a/drivers/video/s3fb.c
+++ b/drivers/video/s3fb.c
@@ -552,7 +552,7 @@ static int s3fb_set_par(struct fb_info *info)
552 } 552 }
553 553
554 vga_wcrt(NULL, 0x3A, 0x35); 554 vga_wcrt(NULL, 0x3A, 0x35);
555 svga_wattr(0x33, 0x00); 555 svga_wattr(par->state.vgabase, 0x33, 0x00);
556 556
557 if (info->var.vmode & FB_VMODE_DOUBLE) 557 if (info->var.vmode & FB_VMODE_DOUBLE)
558 svga_wcrt_mask(0x09, 0x80, 0x80); 558 svga_wcrt_mask(0x09, 0x80, 0x80);