board rk3066 M701: rename lcdc config for rk3066b
authoryxj <yxj@rock-chips.com>
Sat, 8 Sep 2012 09:17:39 +0000 (17:17 +0800)
committeryxj <yxj@rock-chips.com>
Sat, 8 Sep 2012 09:26:52 +0000 (17:26 +0800)
arch/arm/mach-rk30/board-rk3066b-m701.c

index b7965198dbe1b0ff30623a32a1bcad9d9770dd2a..e0312288b9c0934195b4b50e98afd81ab1099e93 100644 (file)
@@ -644,7 +644,7 @@ static int rk_fb_io_enable(void)
        return 0;
 }
 
-#if defined(CONFIG_LCDC0_RK31)
+#if defined(CONFIG_LCDC0_RK3066B)
 struct rk29fb_info lcdc0_screen_info = {
        .prop      = PRMRY,             //primary display device
        .io_init   = rk_fb_io_init,
@@ -654,7 +654,7 @@ struct rk29fb_info lcdc0_screen_info = {
 };
 #endif
 
-#if defined(CONFIG_LCDC1_RK31)
+#if defined(CONFIG_LCDC1_RK3066B)
 struct rk29fb_info lcdc1_screen_info = {
        #if defined(CONFIG_HDMI_RK30)
        .prop           = EXTEND,       //extend display device
@@ -693,7 +693,7 @@ static struct platform_device device_fb = {
 };
 #endif
 
-#if defined(CONFIG_LCDC0_RK31)
+#if defined(CONFIG_LCDC0_RK3066B)
 static struct resource resource_lcdc0[] = {
        [0] = {
                .name  = "lcdc0 reg",
@@ -720,7 +720,7 @@ static struct platform_device device_lcdc0 = {
        },
 };
 #endif
-#if defined(CONFIG_LCDC1_RK31
+#if defined(CONFIG_LCDC1_RK3066B
 static struct resource resource_lcdc1[] = {
        [0] = {
                .name  = "lcdc1 reg",
@@ -1170,10 +1170,10 @@ static struct platform_device *devices[] __initdata = {
 #ifdef CONFIG_FB_ROCKCHIP
        &device_fb,
 #endif
-#if defined(CONFIG_LCDC0_RK31)
+#if defined(CONFIG_LCDC0_RK3066B)
        &device_lcdc0,
 #endif
-#if defined(CONFIG_LCDC1_RK31)
+#if defined(CONFIG_LCDC1_RK3066B)
        &device_lcdc1,
 #endif