From 4cc1043890bd5c3154cb344e59e9a36a6fcfc4ad Mon Sep 17 00:00:00 2001 From: yxj Date: Thu, 24 Jan 2013 10:28:40 +0800 Subject: [PATCH] board LR097,rk3168 tb,ds1006h:lcdc device name rk30-lcdc --- arch/arm/mach-rk30/board-rk3168-LR097.c | 8 -------- arch/arm/mach-rk30/board-rk3168-tb.c | 8 -------- arch/arm/mach-rk3188/board-rk3188-ds1006h.c | 8 -------- 3 files changed, 24 deletions(-) diff --git a/arch/arm/mach-rk30/board-rk3168-LR097.c b/arch/arm/mach-rk30/board-rk3168-LR097.c index 699c327015fc..9582bbdef6a8 100755 --- a/arch/arm/mach-rk30/board-rk3168-LR097.c +++ b/arch/arm/mach-rk30/board-rk3168-LR097.c @@ -622,11 +622,7 @@ 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, @@ -652,11 +648,7 @@ 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, diff --git a/arch/arm/mach-rk30/board-rk3168-tb.c b/arch/arm/mach-rk30/board-rk3168-tb.c index 064c777c7286..a67c0e00feeb 100755 --- a/arch/arm/mach-rk30/board-rk3168-tb.c +++ b/arch/arm/mach-rk30/board-rk3168-tb.c @@ -582,11 +582,7 @@ 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, @@ -612,11 +608,7 @@ 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, diff --git a/arch/arm/mach-rk3188/board-rk3188-ds1006h.c b/arch/arm/mach-rk3188/board-rk3188-ds1006h.c index 423386ce8643..d8c46075dc50 100644 --- a/arch/arm/mach-rk3188/board-rk3188-ds1006h.c +++ b/arch/arm/mach-rk3188/board-rk3188-ds1006h.c @@ -457,11 +457,7 @@ 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, @@ -487,11 +483,7 @@ 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