From: xingbin Date: Mon, 15 Oct 2018 03:37:37 +0000 (+0800) Subject: (CR):[Kane]:[factory]tcmd:add lcd disp_util function X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=eabcc16ed8d0e9e2e576a91b8243ab66343c0625;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git (CR):[Kane]:[factory]tcmd:add lcd disp_util function Change-Id: I9ac688b1e728c10423fb121b0b49e3e89fb9ffb8 Signed-off-by: xingbin --- diff --git a/include/linux/fb.h b/include/linux/fb.h index 2535da462b5e..6e29e1e29a3e 100755 --- a/include/linux/fb.h +++ b/include/linux/fb.h @@ -771,6 +771,7 @@ extern int fb_copy_cmap(const struct fb_cmap *from, struct fb_cmap *to); extern int fb_cmap_to_user(const struct fb_cmap *from, struct fb_cmap_user *to); extern int fb_set_cmap(struct fb_cmap *cmap, struct fb_info *fb_info); extern int fb_set_user_cmap(struct fb_cmap_user *cmap, struct fb_info *fb_info); +extern int fb_user_to_kernel(struct fb_regrw_access_t_user *from_rw, struct fb_regrw_access_t **to_rw); extern const struct fb_cmap *fb_default_cmap(int len); extern void fb_invert_cmaps(void);