board rk3066 M701: rename lcdc config for rk3066b

This commit is contained in:
yxj
2012-09-08 17:17:39 +08:00
parent 0cd107fd17
commit b7308a417a

View 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