lcd hsd100pxn:fix compile err
authoryxj <yxj@rock-chips.com>
Mon, 17 Sep 2012 03:23:30 +0000 (11:23 +0800)
committeryxj <yxj@rock-chips.com>
Mon, 17 Sep 2012 03:24:46 +0000 (11:24 +0800)
drivers/video/display/screen/lcd_hsd100pxn.c

index 15613eb435e9a2d89fc7ddfa996611e0940b12c8..0c06da5d946e6e084403fe2f271fa2cb3117b39c 100755 (executable)
@@ -275,6 +275,7 @@ void set_lcd_info(struct rk29fb_screen *screen, struct rk29lcd_info *lcd_info )
        screen->init = NULL;\r
        screen->standby = NULL;\r
 \r
+#if  defined(CONFIG_ONE_LCDC_DUAL_OUTPUT_INF)\r
        screen->sscreen_get = set_scaler_info;\r
        screen->s_pixclock = OUT_CLK;\r
        screen->s_hsync_len = H_PW;\r
@@ -286,6 +287,7 @@ void set_lcd_info(struct rk29fb_screen *screen, struct rk29lcd_info *lcd_info )
        screen->s_vsync_len = V_PW;\r
        screen->s_hsync_st = 0;\r
        screen->s_vsync_st = 0;\r
+#endif\r
 }\r
 \r
 \r