提交 4b74fdeb 编写于 作者: L Laurent Pinchart

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

Signed-off-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: NSimon Horman <horms@verge.net.au>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册