summaryrefslogtreecommitdiffstats
path: root/drivers/video/s3fb.c
diff options
context:
space:
mode:
authorDavid Miller <davem@davemloft.net>2011-01-11 23:50:04 +0000
committerPaul Mundt <lethal@linux-sh.org>2011-03-22 15:46:52 +0900
commite2fade2c146ec718796049104b45267ddbfdf7a1 (patch)
treeb456b5451b5cdb6590e62bfbd3112974ec7f904b /drivers/video/s3fb.c
parentdc6aff3a5d3e4f565cb07cd5f3b6983850971da7 (diff)
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 3984dcf7ba6..7e34e5a163c 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();