rk3066b sdk: rename lcdc config for rk3066b
authoryxj <yxj@rock-chips.com>
Sat, 8 Sep 2012 08:51:10 +0000 (16:51 +0800)
committeryxj <yxj@rock-chips.com>
Sat, 8 Sep 2012 09:26:51 +0000 (17:26 +0800)
arch/arm/mach-rk30/board-rk3066b-sdk.c

index 1c1eef1dc0875a20815800b2a3efb001a92e4f9f..3cc34d0074bb690b6b34a7eda676932f112d536c 100755 (executable)
@@ -519,7 +519,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,
@@ -529,7 +529,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
@@ -568,7 +568,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",
@@ -595,7 +595,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",
@@ -1045,10 +1045,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