From: 黄涛 Date: Wed, 23 Jan 2013 13:31:49 +0000 (+0800) Subject: rk3168: tb: fix lcdc name X-Git-Tag: firefly_0821_release~7833 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9941e8038a9567ff0e6226b79bd2dd6043d58960;p=firefly-linux-kernel-4.4.55.git rk3168: tb: fix lcdc name --- 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,