Tony Prisk | 18a434b | 2013-04-03 07:20:33 +1300 | [diff] [blame] | 1 | #ifdef CONFIG_FB_WMT_GE_ROPS |
| 2 | |
Alexey Charkov | d6ff7d0 | 2010-11-09 02:42:39 +0300 | [diff] [blame] | 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); |
Tony Prisk | 18a434b | 2013-04-03 07:20:33 +1300 | [diff] [blame] | 8 | |
| 9 | #else |
| 10 | |
| 11 | static inline int wmt_ge_sync(struct fb_info *p) |
| 12 | { |
| 13 | return 0; |
| 14 | } |
| 15 | |
| 16 | static inline void wmt_ge_fillrect(struct fb_info *p, |
| 17 | const struct fb_fillrect *rect) |
| 18 | { |
| 19 | sys_fillrect(p, rect); |
| 20 | } |
| 21 | |
| 22 | static inline void wmt_ge_copyarea(struct fb_info *p, |
| 23 | const struct fb_copyarea *area) |
| 24 | { |
| 25 | sys_copyarea(p, area); |
| 26 | } |
| 27 | |
| 28 | #endif |