提交 e2543c5a 编写于 作者: L Laurent Pinchart

arm: mach-shmobile: Don't initialize the hdmi_info lcd_chan field

The field is unused and will be removed. Don't initialize it.
Signed-off-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com>
上级 db85905a
......@@ -808,10 +808,7 @@ static struct platform_device fsi_ak4643_device = {
static long ap4evb_clk_optimize(unsigned long target, unsigned long *best_freq,
unsigned long *parent_freq);
static struct sh_mobile_lcdc_info sh_mobile_lcdc1_info;
static struct sh_mobile_hdmi_info hdmi_info = {
.lcd_chan = &sh_mobile_lcdc1_info.ch[0],
.flags = HDMI_SND_SRC_SPDIF,
.clk_optimize_parent = ap4evb_clk_optimize,
};
......
......@@ -427,10 +427,7 @@ static struct platform_device lcdc_device = {
};
/* HDMI */
static struct sh_mobile_lcdc_info hdmi_lcdc_info;
static struct sh_mobile_hdmi_info hdmi_info = {
.lcd_chan = &hdmi_lcdc_info.ch[0],
.flags = HDMI_SND_SRC_SPDIF,
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册