summaryrefslogtreecommitdiffstats
path: root/arch/sh/boards/mach-migor/setup.c
diff options
context:
space:
mode:
authorLaurent Pinchart2011-12-13 14:02:28 +0100
committerFlorian Tobias Schandinat2011-12-19 21:07:13 +0100
commitedd153a3e4f7346551f98014b3ccf0494219a9d1 (patch)
treece6f1b2b8be286d88b1f31d0460d360f7c776a47 /arch/sh/boards/mach-migor/setup.c
parentv4l: Add V4L2_PIX_FMT_NV24 and V4L2_PIX_FMT_NV42 formats (diff)
downloadkernel-qcow2-linux-edd153a3e4f7346551f98014b3ccf0494219a9d1.tar.gz
kernel-qcow2-linux-edd153a3e4f7346551f98014b3ccf0494219a9d1.tar.xz
kernel-qcow2-linux-edd153a3e4f7346551f98014b3ccf0494219a9d1.zip
fbdev: sh_mobile_lcdc: Support FOURCC-based format API
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'arch/sh/boards/mach-migor/setup.c')
-rw-r--r--arch/sh/boards/mach-migor/setup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/boards/mach-migor/setup.c b/arch/sh/boards/mach-migor/setup.c
index e4c81195929c..ccf61fb99853 100644
--- a/arch/sh/boards/mach-migor/setup.c
+++ b/arch/sh/boards/mach-migor/setup.c
@@ -244,7 +244,7 @@ static struct sh_mobile_lcdc_info sh_mobile_lcdc_info = {
.clock_source = LCDC_CLK_BUS,
.ch[0] = {
.chan = LCDC_CHAN_MAINLCD,
- .bpp = 16,
+ .fourcc = V4L2_PIX_FMT_RGB565,
.interface_type = RGB16,
.clock_divider = 2,
.lcd_cfg = migor_lcd_modes,
@@ -258,7 +258,7 @@ static struct sh_mobile_lcdc_info sh_mobile_lcdc_info = {
.clock_source = LCDC_CLK_PERIPHERAL,
.ch[0] = {
.chan = LCDC_CHAN_MAINLCD,
- .bpp = 16,
+ .fourcc = V4L2_PIX_FMT_RGB565,
.interface_type = SYS16A,
.clock_divider = 10,
.lcd_cfg = migor_lcd_modes,