rk30 lcdc:init screen0
authoryxj <yxj@rock-chips.com>
Sat, 27 Apr 2013 03:41:54 +0000 (11:41 +0800)
committeryxj <yxj@rock-chips.com>
Sat, 27 Apr 2013 03:42:09 +0000 (11:42 +0800)
drivers/video/rockchip/lcdc/rk30_lcdc.c

index c23c5b837b2b77de8029e2edb50767fca5692513..d1ce4ab1892e36293d4559c59656c70acca2d373 100644 (file)
@@ -1590,7 +1590,7 @@ static int __devinit rk30_lcdc_probe (struct platform_device *pdev)
        lcdc_dev->dsp_lut_addr_base = (lcdc_dev->regs + DSP_LUT_ADDR);
        printk("lcdc%d:reg_phy_base = 0x%08x,reg_vir_base:0x%p\n",pdev->id,lcdc_dev->reg_phy_base, lcdc_dev->regs);
        lcdc_dev->driver.dev=&pdev->dev;
-
+       lcdc_dev->driver.screen0 = screen;
 #if defined(CONFIG_ONE_LCDC_DUAL_OUTPUT_INF)&& (defined(CONFIG_RK610_LVDS) || defined(CONFIG_RK616_LVDS))
        lcdc_dev->driver.screen1 = screen1;
 #endif