From 472b36939faae0cc42f414c7bc90710b0f3216dc Mon Sep 17 00:00:00 2001 From: yxj Date: Wed, 8 Aug 2012 22:19:05 +0800 Subject: [PATCH] rkfb : layer and fb map soc independently ,add sys node for fb and layer remap --- drivers/video/rockchip/rk_fb.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/video/rockchip/rk_fb.c b/drivers/video/rockchip/rk_fb.c index 6ef24eb62a18..88d51b26435a 100644 --- a/drivers/video/rockchip/rk_fb.c +++ b/drivers/video/rockchip/rk_fb.c @@ -878,8 +878,7 @@ static int init_lcdc_device_driver(struct rk_lcdc_device_driver *dev_drv, init_completion(&dev_drv->frame_done); spin_lock_init(&dev_drv->cpl_lock); mutex_init(&dev_drv->fb_win_id_mutex); - if (dev_drv->fb_layer_remap) - dev_drv->fb_layer_remap(dev_drv,FB_DEFAULT_ORDER); //102 + dev_drv->fb_layer_remap(dev_drv,FB_DEFAULT_ORDER); //102 dev_drv->first_frame = 1; return 0; -- 2.34.1