svga: Make svga_tilecursor() take an iomem regbase pointer.
[~shefty/rdma-dev.git] / drivers / video / vt8623fb.c
index e3bb7c5..cedac00 100644 (file)
@@ -121,13 +121,19 @@ MODULE_PARM_DESC(mtrr, "Enable write-combining with MTRR (1=enable, 0=disable, d
 
 /* ------------------------------------------------------------------------- */
 
+static void vt8623fb_tilecursor(struct fb_info *info, struct fb_tilecursor *cursor)
+{
+       struct vt8623fb_info *par = info->par;
+
+       svga_tilecursor(par->state.vgabase, info, cursor);
+}
 
 static struct fb_tile_ops vt8623fb_tile_ops = {
        .fb_settile     = svga_settile,
        .fb_tilecopy    = svga_tilecopy,
        .fb_tilefill    = svga_tilefill,
        .fb_tileblit    = svga_tileblit,
-       .fb_tilecursor  = svga_tilecursor,
+       .fb_tilecursor  = vt8623fb_tilecursor,
        .fb_get_tilemax = svga_get_tilemax,
 };