*  Hardware cursor support
      */
 
-extern int aty_init_cursor(struct fb_info *info);
+extern int aty_init_cursor(struct fb_info *info, struct fb_ops *atyfb_ops);
 
     /*
      *  Hardware acceleration
 
        par->accel_flags = var->accel_flags; /* hack */
 
        if (var->accel_flags) {
-               info->fbops->fb_sync = atyfb_sync;
+               atyfb_ops.fb_sync = atyfb_sync;
                info->flags &= ~FBINFO_HWACCEL_DISABLED;
        } else {
-               info->fbops->fb_sync = NULL;
+               atyfb_ops.fb_sync = NULL;
                info->flags |= FBINFO_HWACCEL_DISABLED;
        }
 
 
 #ifdef CONFIG_FB_ATY_CT
        if (!noaccel && M64_HAS(INTEGRATED))
-               aty_init_cursor(info);
+               aty_init_cursor(info, &atyfb_ops);
 #endif /* CONFIG_FB_ATY_CT */
        info->var = var;
 
 
        return 0;
 }
 
-int aty_init_cursor(struct fb_info *info)
+int aty_init_cursor(struct fb_info *info, struct fb_ops *atyfb_ops)
 {
        unsigned long addr;
 
        info->sprite.buf_align = 16;    /* and 64 lines tall. */
        info->sprite.flags = FB_PIXMAP_IO;
 
-       info->fbops->fb_cursor = atyfb_cursor;
+       atyfb_ops->fb_cursor = atyfb_cursor;
 
        return 0;
 }