0001
0002 #ifdef CONFIG_FB_WMT_GE_ROPS
0003
0004 extern void wmt_ge_fillrect(struct fb_info *info,
0005 const struct fb_fillrect *rect);
0006 extern void wmt_ge_copyarea(struct fb_info *info,
0007 const struct fb_copyarea *area);
0008 extern int wmt_ge_sync(struct fb_info *info);
0009
0010 #else
0011
0012 static inline int wmt_ge_sync(struct fb_info *p)
0013 {
0014 return 0;
0015 }
0016
0017 static inline void wmt_ge_fillrect(struct fb_info *p,
0018 const struct fb_fillrect *rect)
0019 {
0020 sys_fillrect(p, rect);
0021 }
0022
0023 static inline void wmt_ge_copyarea(struct fb_info *p,
0024 const struct fb_copyarea *area)
0025 {
0026 sys_copyarea(p, area);
0027 }
0028
0029 #endif