From 9941e8038a9567ff0e6226b79bd2dd6043d58960 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E9=BB=84=E6=B6=9B?= Date: Wed, 23 Jan 2013 21:31:49 +0800 Subject: [PATCH] rk3168: tb: fix lcdc name --- arch/arm/mach-rk30/board-rk3168-tb.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/mach-rk30/board-rk3168-tb.c b/arch/arm/mach-rk30/board-rk3168-tb.c index d40247bb5a1c..eb7a4f1d3f0f 100755 --- a/arch/arm/mach-rk30/board-rk3168-tb.c +++ b/arch/arm/mach-rk30/board-rk3168-tb.c @@ -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, -- 2.34.1