rkfb : layer and fb map soc independently ,add sys node for fb and layer remap
authoryxj <yxj@rock-chips.com>
Wed, 8 Aug 2012 14:19:05 +0000 (22:19 +0800)
committeryxj <yxj@rock-chips.com>
Wed, 29 Aug 2012 07:45:24 +0000 (15:45 +0800)
drivers/video/rockchip/rk_fb.c

index 6ef24eb62a18f17892ffef80a38b7643f09d03c2..88d51b26435a1e42b7ce0a58d50433c7b9afc892 100644 (file)
@@ -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;