Linux 4.16.11
[linux/fpc-iii.git] / drivers / video / fbdev / wmt_ge_rops.h
blob8d9ed8a51a79785fd920a718982c059d7db01e89
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifdef CONFIG_FB_WMT_GE_ROPS
4 extern void wmt_ge_fillrect(struct fb_info *info,
5 const struct fb_fillrect *rect);
6 extern void wmt_ge_copyarea(struct fb_info *info,
7 const struct fb_copyarea *area);
8 extern int wmt_ge_sync(struct fb_info *info);
10 #else
12 static inline int wmt_ge_sync(struct fb_info *p)
14 return 0;
17 static inline void wmt_ge_fillrect(struct fb_info *p,
18 const struct fb_fillrect *rect)
20 sys_fillrect(p, rect);
23 static inline void wmt_ge_copyarea(struct fb_info *p,
24 const struct fb_copyarea *area)
26 sys_copyarea(p, area);
29 #endif