fbcon_XGI_fillrect() implementation is trivial and can be replaced with
cfb_fillrect().
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
XGI310Sync();
}
-
-void fbcon_XGI_fillrect(struct fb_info *info, const struct fb_fillrect *rect)
-{
- if (!rect->width || !rect->height)
- return;
-
- cfb_fillrect(info, rect);
- return;
-}
extern struct video_info xgi_video_info;
-void fbcon_XGI_fillrect(struct fb_info *info, const struct fb_fillrect *rect);
-
#endif
/*static int XGIfb_mmap(struct fb_info *info, struct file *file,
struct vm_area_struct *vma);
*/
-extern void fbcon_XGI_fillrect(struct fb_info *info,
- const struct fb_fillrect *rect);
static int XGIfb_ioctl(struct fb_info *info, unsigned int cmd,
unsigned long arg);
.fb_pan_display = XGIfb_pan_display,
#endif
.fb_blank = XGIfb_blank,
- .fb_fillrect = fbcon_XGI_fillrect,
+ .fb_fillrect = cfb_fillrect,
.fb_copyarea = cfb_copyarea,
.fb_imageblit = cfb_imageblit,
.fb_ioctl = XGIfb_ioctl,