summaryrefslogtreecommitdiff
path: root/drivers/video/s3fb.c
diff options
context:
space:
mode:
authorDavid Miller <davem@davemloft.net>2011-01-12 02:50:04 +0300
committerPaul Mundt <lethal@linux-sh.org>2011-03-22 09:46:52 +0300
commite2fade2c146ec718796049104b45267ddbfdf7a1 (patch)
treeb456b5451b5cdb6590e62bfbd3112974ec7f904b /drivers/video/s3fb.c
parentdc6aff3a5d3e4f565cb07cd5f3b6983850971da7 (diff)
downloadlinux-e2fade2c146ec718796049104b45267ddbfdf7a1.tar.xz
svga: Make svga_set_default_gfx_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 3984dcf7ba67..7e34e5a163c4 100644
--- a/drivers/video/s3fb.c
+++ b/drivers/video/s3fb.c
@@ -514,7 +514,7 @@ static int s3fb_set_par(struct fb_info *info)
svga_wcrt_mask(0x17, 0x00, 0x80);
/* Set default values */
- svga_set_default_gfx_regs();
+ svga_set_default_gfx_regs(par->state.vgabase);
svga_set_default_atc_regs();
svga_set_default_seq_regs();
svga_set_default_crt_regs();