Skip to content

Commit

Permalink
Merge branch 'for-next' of git://linuxtv.org/pinchartl/fbdev into fbd…
Browse files Browse the repository at this point in the history
…ev-next
  • Loading branch information
Florian Tobias Schandinat authored and Florian Tobias Schandinat committed Mar 13, 2012
2 parents afb0499 + af89956 commit f9b4a5c
Show file tree
Hide file tree
Showing 22 changed files with 1,594 additions and 1,490 deletions.
24 changes: 7 additions & 17 deletions arch/arm/mach-shmobile/board-ag5evm.c
Original file line number Diff line number Diff line change
Expand Up @@ -229,16 +229,6 @@ static void lcd_backlight_reset(void)
gpio_set_value(GPIO_PORT235, 1);
}

static void lcd_on(void *board_data, struct fb_info *info)
{
lcd_backlight_on();
}

static void lcd_off(void *board_data)
{
lcd_backlight_reset();
}

/* LCDC0 */
static const struct fb_videomode lcdc0_modes[] = {
{
Expand All @@ -262,14 +252,14 @@ static struct sh_mobile_lcdc_info lcdc0_info = {
.interface_type = RGB24,
.clock_divider = 1,
.flags = LCDC_FLAGS_DWPOL,
.lcd_size_cfg.width = 44,
.lcd_size_cfg.height = 79,
.fourcc = V4L2_PIX_FMT_RGB565,
.lcd_cfg = lcdc0_modes,
.num_cfg = ARRAY_SIZE(lcdc0_modes),
.board_cfg = {
.display_on = lcd_on,
.display_off = lcd_off,
.lcd_modes = lcdc0_modes,
.num_modes = ARRAY_SIZE(lcdc0_modes),
.panel_cfg = {
.width = 44,
.height = 79,
.display_on = lcd_backlight_on,
.display_off = lcd_backlight_reset,
},
}
};
Expand Down
Loading

0 comments on commit f9b4a5c

Please sign in to comment.