Skip to content

Commit

Permalink
arm: mach-shmobile: Don't initialize the hdmi_info lcd_chan field
Browse files Browse the repository at this point in the history
The field is unused and will be removed. Don't initialize it.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
  • Loading branch information
Laurent Pinchart committed Mar 12, 2012
1 parent db85905 commit e2543c5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions arch/arm/mach-shmobile/board-ap4evb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand Down
3 changes: 0 additions & 3 deletions arch/arm/mach-shmobile/board-mackerel.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand Down

0 comments on commit e2543c5

Please sign in to comment.