From 4b74fdeb24a5d1bcf35aad8b8e3bd068319a1125 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Tue, 14 Aug 2012 12:21:17 +0200 Subject: [PATCH] ARM: mach-shmobile: Remove the unused sh_mipi_dsi_info lcd_chan field Signed-off-by: Laurent Pinchart Acked-by: Simon Horman --- arch/arm/mach-shmobile/board-ag5evm.c | 3 --- arch/arm/mach-shmobile/board-ap4evb.c | 3 --- 2 files changed, 6 deletions(-) diff --git a/arch/arm/mach-shmobile/board-ag5evm.c b/arch/arm/mach-shmobile/board-ag5evm.c index a38931f6b843..d787979a5310 100644 --- a/arch/arm/mach-shmobile/board-ag5evm.c +++ b/arch/arm/mach-shmobile/board-ag5evm.c @@ -267,11 +267,8 @@ sh_mipi_set_dot_clock_pck_err: return ret; } -static struct sh_mobile_lcdc_info lcdc0_info; - static struct sh_mipi_dsi_info mipidsi0_info = { .data_format = MIPI_RGB888, - .lcd_chan = &lcdc0_info.ch[0], .channel = LCDC_CHAN_MAINLCD, .lane = 2, .vsynw_offset = 20, diff --git a/arch/arm/mach-shmobile/board-ap4evb.c b/arch/arm/mach-shmobile/board-ap4evb.c index 25a46b5ed9b2..728ed4d026c7 100644 --- a/arch/arm/mach-shmobile/board-ap4evb.c +++ b/arch/arm/mach-shmobile/board-ap4evb.c @@ -552,11 +552,8 @@ static struct resource mipidsi0_resources[] = { }, }; -static struct sh_mobile_lcdc_info lcdc_info; - static struct sh_mipi_dsi_info mipidsi0_info = { .data_format = MIPI_RGB888, - .lcd_chan = &lcdc_info.ch[0], .channel = LCDC_CHAN_MAINLCD, .lane = 2, .vsynw_offset = 17, -- 2.34.1