Linux 3.11-rc3
[cris-mirror.git] / drivers / video / wmt_ge_rops.h
blobf73ec6377a46cde2f19151c54b9d3743900d2d86
1 #ifdef CONFIG_FB_WMT_GE_ROPS
3 extern void wmt_ge_fillrect(struct fb_info *info,
4 const struct fb_fillrect *rect);
5 extern void wmt_ge_copyarea(struct fb_info *info,
6 const struct fb_copyarea *area);
7 extern int wmt_ge_sync(struct fb_info *info);
9 #else
11 static inline int wmt_ge_sync(struct fb_info *p)
13 return 0;
16 static inline void wmt_ge_fillrect(struct fb_info *p,
17 const struct fb_fillrect *rect)
19 sys_fillrect(p, rect);
22 static inline void wmt_ge_copyarea(struct fb_info *p,
23 const struct fb_copyarea *area)
25 sys_copyarea(p, area);
28 #endif