]> git.ipfire.org Git - thirdparty/kernel/linux.git/blame - drivers/video/fbdev/wmt_ge_rops.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[thirdparty/kernel/linux.git] / drivers / video / fbdev / wmt_ge_rops.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
18a434b5
TP
2#ifdef CONFIG_FB_WMT_GE_ROPS
3
d6ff7d0f
AC
4extern void wmt_ge_fillrect(struct fb_info *info,
5 const struct fb_fillrect *rect);
6extern void wmt_ge_copyarea(struct fb_info *info,
7 const struct fb_copyarea *area);
8extern int wmt_ge_sync(struct fb_info *info);
18a434b5
TP
9
10#else
11
12static inline int wmt_ge_sync(struct fb_info *p)
13{
14 return 0;
15}
16
17static inline void wmt_ge_fillrect(struct fb_info *p,
18 const struct fb_fillrect *rect)
19{
20 sys_fillrect(p, rect);
21}
22
23static inline void wmt_ge_copyarea(struct fb_info *p,
24 const struct fb_copyarea *area)
25{
26 sys_copyarea(p, area);
27}
28
29#endif