From 2011ebecf354380a22704421492fe4b9aaf8f8d9 Mon Sep 17 00:00:00 2001 From: "Guoniu.Zhou" Date: Fri, 17 Feb 2017 12:54:11 +0800 Subject: [PATCH] MLK-13993: video: Distinguish fb0 and fb1 in userspace. In userspace, user can not distinguish fb0 and fb1, so add fb1/name property to distinguish them. Signed-off-by: Guoniu.Zhou --- drivers/video/fbdev/mxsfb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/video/fbdev/mxsfb.c b/drivers/video/fbdev/mxsfb.c index 63db6a29d507..25ad8db24493 100644 --- a/drivers/video/fbdev/mxsfb.c +++ b/drivers/video/fbdev/mxsfb.c @@ -1936,6 +1936,8 @@ static void init_mxsfb_overlay(struct mxsfb_info *fbi, ofb->blank_state = -1; ofb->global_alpha = 255; ofb->fbi = fbi; + + sprintf(ofb->ol_fb->fix.id, "FG"); } static int mxsfb_overlay_map_video_memory(struct mxsfb_info *fbi, -- 2.17.1