diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2011-11-29 08:33:41 -0500 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2012-03-12 17:40:55 -0400 |
commit | 93ff259846a774ff37dca54792c5a3a6425882c0 (patch) | |
tree | b5bbdb3005ec0dc57f674c1c88de5abede17c65f /arch/arm/mach-shmobile | |
parent | 2d04559dc23bed905ed2904f2bbcbcc3f1a7fd91 (diff) |
fbdev: sh_mobile_lcdc: Rename (lcd|num)_cfg (lcd|num)_modes
The struct sh_mobile_lcdc_chan_cfg platform data contains a list of
video modes. Name the lcd_cfg and num_cfg fields to reflect that they
describe video modes.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'arch/arm/mach-shmobile')
-rw-r--r-- | arch/arm/mach-shmobile/board-ag5evm.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/board-ap4evb.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/board-bonito.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/board-mackerel.c | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/arch/arm/mach-shmobile/board-ag5evm.c b/arch/arm/mach-shmobile/board-ag5evm.c index 199b3b958f42..33dad1da9310 100644 --- a/arch/arm/mach-shmobile/board-ag5evm.c +++ b/arch/arm/mach-shmobile/board-ag5evm.c | |||
@@ -253,8 +253,8 @@ static struct sh_mobile_lcdc_info lcdc0_info = { | |||
253 | .clock_divider = 1, | 253 | .clock_divider = 1, |
254 | .flags = LCDC_FLAGS_DWPOL, | 254 | .flags = LCDC_FLAGS_DWPOL, |
255 | .fourcc = V4L2_PIX_FMT_RGB565, | 255 | .fourcc = V4L2_PIX_FMT_RGB565, |
256 | .lcd_cfg = lcdc0_modes, | 256 | .lcd_modes = lcdc0_modes, |
257 | .num_cfg = ARRAY_SIZE(lcdc0_modes), | 257 | .num_modes = ARRAY_SIZE(lcdc0_modes), |
258 | .panel_cfg = { | 258 | .panel_cfg = { |
259 | .width = 44, | 259 | .width = 44, |
260 | .height = 79, | 260 | .height = 79, |
diff --git a/arch/arm/mach-shmobile/board-ap4evb.c b/arch/arm/mach-shmobile/board-ap4evb.c index 2cb6c39dd62a..80b943029815 100644 --- a/arch/arm/mach-shmobile/board-ap4evb.c +++ b/arch/arm/mach-shmobile/board-ap4evb.c | |||
@@ -593,8 +593,8 @@ static struct sh_mobile_lcdc_info lcdc_info = { | |||
593 | .ch[0] = { | 593 | .ch[0] = { |
594 | .chan = LCDC_CHAN_MAINLCD, | 594 | .chan = LCDC_CHAN_MAINLCD, |
595 | .fourcc = V4L2_PIX_FMT_RGB565, | 595 | .fourcc = V4L2_PIX_FMT_RGB565, |
596 | .lcd_cfg = ap4evb_lcdc_modes, | 596 | .lcd_modes = ap4evb_lcdc_modes, |
597 | .num_cfg = ARRAY_SIZE(ap4evb_lcdc_modes), | 597 | .num_modes = ARRAY_SIZE(ap4evb_lcdc_modes), |
598 | .meram_cfg = &lcd_meram_cfg, | 598 | .meram_cfg = &lcd_meram_cfg, |
599 | #ifdef CONFIG_AP4EVB_QHD | 599 | #ifdef CONFIG_AP4EVB_QHD |
600 | .tx_dev = &mipidsi0_device, | 600 | .tx_dev = &mipidsi0_device, |
diff --git a/arch/arm/mach-shmobile/board-bonito.c b/arch/arm/mach-shmobile/board-bonito.c index 9cd9408b851b..fb90f0898d9c 100644 --- a/arch/arm/mach-shmobile/board-bonito.c +++ b/arch/arm/mach-shmobile/board-bonito.c | |||
@@ -245,8 +245,8 @@ static struct sh_mobile_lcdc_info lcdc0_info = { | |||
245 | .interface_type = RGB24, | 245 | .interface_type = RGB24, |
246 | .clock_divider = 5, | 246 | .clock_divider = 5, |
247 | .flags = 0, | 247 | .flags = 0, |
248 | .lcd_cfg = &lcdc0_mode, | 248 | .lcd_modes = &lcdc0_mode, |
249 | .num_cfg = 1, | 249 | .num_modes = 1, |
250 | .panel_cfg = { | 250 | .panel_cfg = { |
251 | .width = 152, | 251 | .width = 152, |
252 | .height = 91, | 252 | .height = 91, |
diff --git a/arch/arm/mach-shmobile/board-mackerel.c b/arch/arm/mach-shmobile/board-mackerel.c index 9228cc555b46..aff7df8ccc30 100644 --- a/arch/arm/mach-shmobile/board-mackerel.c +++ b/arch/arm/mach-shmobile/board-mackerel.c | |||
@@ -384,8 +384,8 @@ static struct sh_mobile_lcdc_info lcdc_info = { | |||
384 | .ch[0] = { | 384 | .ch[0] = { |
385 | .chan = LCDC_CHAN_MAINLCD, | 385 | .chan = LCDC_CHAN_MAINLCD, |
386 | .fourcc = V4L2_PIX_FMT_RGB565, | 386 | .fourcc = V4L2_PIX_FMT_RGB565, |
387 | .lcd_cfg = mackerel_lcdc_modes, | 387 | .lcd_modes = mackerel_lcdc_modes, |
388 | .num_cfg = ARRAY_SIZE(mackerel_lcdc_modes), | 388 | .num_modes = ARRAY_SIZE(mackerel_lcdc_modes), |
389 | .interface_type = RGB24, | 389 | .interface_type = RGB24, |
390 | .clock_divider = 3, | 390 | .clock_divider = 3, |
391 | .flags = 0, | 391 | .flags = 0, |