summaryrefslogtreecommitdiffstats
path: root/drivers/video/s3fb.c
diff options
context:
space:
mode:
authorDavid Miller <davem@davemloft.net>2011-01-11 23:49:18 +0000
committerPaul Mundt <lethal@linux-sh.org>2011-03-22 15:46:40 +0900
commitf6b0cc477de99fe715f1071b13ab822daed9a34f (patch)
tree44c597c18899d1434c549cd3d3fb7a991537a406 /drivers/video/s3fb.c
parent1284e49cf186eaa19056e85a76a443d4eca8995d (diff)
downloadlinux-f6b0cc477de99fe715f1071b13ab822daed9a34f.tar.bz2
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)
}
vga_wcrt(NULL, 0x3A, 0x35);
- svga_wattr(0x33, 0x00);
+ svga_wattr(par->state.vgabase, 0x33, 0x00);
if (info->var.vmode & FB_VMODE_DOUBLE)
svga_wcrt_mask(0x09, 0x80, 0x80);