rk3168: tb: fix lcdc name
author黄涛 <huangtao@rock-chips.com>
Wed, 23 Jan 2013 13:31:49 +0000 (21:31 +0800)
committer黄涛 <huangtao@rock-chips.com>
Wed, 23 Jan 2013 13:32:07 +0000 (21:32 +0800)
arch/arm/mach-rk30/board-rk3168-tb.c

index d40247bb5a1c0c54454c503c56964822ad5a42b8..eb7a4f1d3f0f8551cc0dce545eb259b68596d5b7 100755 (executable)
@@ -582,7 +582,11 @@ static struct resource resource_lcdc0[] = {
 };
 
 static struct platform_device device_lcdc0 = {
+#ifdef CONFIG_LCDC0_RK3188
+       .name             = "rk3188-lcdc",
+#else
        .name             = "rk30-lcdc",
+#endif
        .id               = 0,
        .num_resources    = ARRAY_SIZE(resource_lcdc0),
        .resource         = resource_lcdc0,
@@ -608,7 +612,11 @@ static struct resource resource_lcdc1[] = {
 };
 
 static struct platform_device device_lcdc1 = {
+#ifdef CONFIG_LCDC1_RK3188
+       .name             = "rk3188-lcdc",
+#else
        .name             = "rk30-lcdc",
+#endif
        .id               = 1,
        .num_resources    = ARRAY_SIZE(resource_lcdc1),
        .resource         = resource_lcdc1,