diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2011-09-11 16:59:04 -0400 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2012-03-12 17:40:50 -0400 |
commit | afaad83b9c0d24eac88535cc5a8c6019f0c45bcb (patch) | |
tree | 8f96bd7ac14c07f89178372782c7707f625bb193 /arch/arm/mach-shmobile/board-ag5evm.c | |
parent | 43059b0f46f814b4152f327c701d079253904540 (diff) |
fbdev: sh_mobile_lcdc: Merge board_cfg and lcd_size_cfg into panel_cfg
Update board code accordingly.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'arch/arm/mach-shmobile/board-ag5evm.c')
-rw-r--r-- | arch/arm/mach-shmobile/board-ag5evm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-shmobile/board-ag5evm.c b/arch/arm/mach-shmobile/board-ag5evm.c index 7108c5da6077..199b3b958f42 100644 --- a/arch/arm/mach-shmobile/board-ag5evm.c +++ b/arch/arm/mach-shmobile/board-ag5evm.c | |||
@@ -252,12 +252,12 @@ static struct sh_mobile_lcdc_info lcdc0_info = { | |||
252 | .interface_type = RGB24, | 252 | .interface_type = RGB24, |
253 | .clock_divider = 1, | 253 | .clock_divider = 1, |
254 | .flags = LCDC_FLAGS_DWPOL, | 254 | .flags = LCDC_FLAGS_DWPOL, |
255 | .lcd_size_cfg.width = 44, | ||
256 | .lcd_size_cfg.height = 79, | ||
257 | .fourcc = V4L2_PIX_FMT_RGB565, | 255 | .fourcc = V4L2_PIX_FMT_RGB565, |
258 | .lcd_cfg = lcdc0_modes, | 256 | .lcd_cfg = lcdc0_modes, |
259 | .num_cfg = ARRAY_SIZE(lcdc0_modes), | 257 | .num_cfg = ARRAY_SIZE(lcdc0_modes), |
260 | .board_cfg = { | 258 | .panel_cfg = { |
259 | .width = 44, | ||
260 | .height = 79, | ||
261 | .display_on = lcd_backlight_on, | 261 | .display_on = lcd_backlight_on, |
262 | .display_off = lcd_backlight_reset, | 262 | .display_off = lcd_backlight_reset, |
263 | }, | 263 | }, |