Commit 4b74fdeb authored by Laurent Pinchart's avatar Laurent Pinchart

ARM: mach-shmobile: Remove the unused sh_mipi_dsi_info lcd_chan field

Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: default avatarSimon Horman <horms@verge.net.au>
parent 675f9280
...@@ -267,11 +267,8 @@ static int sh_mipi_set_dot_clock(struct platform_device *pdev, ...@@ -267,11 +267,8 @@ static int sh_mipi_set_dot_clock(struct platform_device *pdev,
return ret; return ret;
} }
static struct sh_mobile_lcdc_info lcdc0_info;
static struct sh_mipi_dsi_info mipidsi0_info = { static struct sh_mipi_dsi_info mipidsi0_info = {
.data_format = MIPI_RGB888, .data_format = MIPI_RGB888,
.lcd_chan = &lcdc0_info.ch[0],
.channel = LCDC_CHAN_MAINLCD, .channel = LCDC_CHAN_MAINLCD,
.lane = 2, .lane = 2,
.vsynw_offset = 20, .vsynw_offset = 20,
......
...@@ -552,11 +552,8 @@ static struct resource mipidsi0_resources[] = { ...@@ -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 = { static struct sh_mipi_dsi_info mipidsi0_info = {
.data_format = MIPI_RGB888, .data_format = MIPI_RGB888,
.lcd_chan = &lcdc_info.ch[0],
.channel = LCDC_CHAN_MAINLCD, .channel = LCDC_CHAN_MAINLCD,
.lane = 2, .lane = 2,
.vsynw_offset = 17, .vsynw_offset = 17,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment