aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/wmt_ge_rops.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/wmt_ge_rops.h')
-rw-r--r--drivers/video/wmt_ge_rops.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/drivers/video/wmt_ge_rops.h b/drivers/video/wmt_ge_rops.h
index 87380751a443..f73ec6377a46 100644
--- a/drivers/video/wmt_ge_rops.h
+++ b/drivers/video/wmt_ge_rops.h
@@ -1,5 +1,28 @@
1#ifdef CONFIG_FB_WMT_GE_ROPS
2
1extern void wmt_ge_fillrect(struct fb_info *info, 3extern void wmt_ge_fillrect(struct fb_info *info,
2 const struct fb_fillrect *rect); 4 const struct fb_fillrect *rect);
3extern void wmt_ge_copyarea(struct fb_info *info, 5extern void wmt_ge_copyarea(struct fb_info *info,
4 const struct fb_copyarea *area); 6 const struct fb_copyarea *area);
5extern int wmt_ge_sync(struct fb_info *info); 7extern int wmt_ge_sync(struct fb_info *info);
8
9#else
10
11static inline int wmt_ge_sync(struct fb_info *p)
12{
13 return 0;
14}
15
16static inline void wmt_ge_fillrect(struct fb_info *p,
17 const struct fb_fillrect *rect)
18{
19 sys_fillrect(p, rect);
20}
21
22static 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