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/sh/boards/mach-ecovec24 | |
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/sh/boards/mach-ecovec24')
-rw-r--r-- | arch/sh/boards/mach-ecovec24/setup.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/sh/boards/mach-ecovec24/setup.c b/arch/sh/boards/mach-ecovec24/setup.c index 41767451ead1..0b08230546e7 100644 --- a/arch/sh/boards/mach-ecovec24/setup.c +++ b/arch/sh/boards/mach-ecovec24/setup.c | |||
@@ -1114,8 +1114,8 @@ static int __init arch_setup(void) | |||
1114 | /* DVI */ | 1114 | /* DVI */ |
1115 | lcdc_info.clock_source = LCDC_CLK_EXTERNAL; | 1115 | lcdc_info.clock_source = LCDC_CLK_EXTERNAL; |
1116 | lcdc_info.ch[0].clock_divider = 1; | 1116 | lcdc_info.ch[0].clock_divider = 1; |
1117 | lcdc_info.ch[0].lcd_cfg = ecovec_dvi_modes; | 1117 | lcdc_info.ch[0].lcd_modes = ecovec_dvi_modes; |
1118 | lcdc_info.ch[0].num_cfg = ARRAY_SIZE(ecovec_dvi_modes); | 1118 | lcdc_info.ch[0].num_modes = ARRAY_SIZE(ecovec_dvi_modes); |
1119 | 1119 | ||
1120 | gpio_set_value(GPIO_PTA2, 1); | 1120 | gpio_set_value(GPIO_PTA2, 1); |
1121 | gpio_set_value(GPIO_PTU1, 1); | 1121 | gpio_set_value(GPIO_PTU1, 1); |
@@ -1123,8 +1123,8 @@ static int __init arch_setup(void) | |||
1123 | /* Panel */ | 1123 | /* Panel */ |
1124 | lcdc_info.clock_source = LCDC_CLK_PERIPHERAL; | 1124 | lcdc_info.clock_source = LCDC_CLK_PERIPHERAL; |
1125 | lcdc_info.ch[0].clock_divider = 2; | 1125 | lcdc_info.ch[0].clock_divider = 2; |
1126 | lcdc_info.ch[0].lcd_cfg = ecovec_lcd_modes; | 1126 | lcdc_info.ch[0].lcd_modes = ecovec_lcd_modes; |
1127 | lcdc_info.ch[0].num_cfg = ARRAY_SIZE(ecovec_lcd_modes); | 1127 | lcdc_info.ch[0].num_modes = ARRAY_SIZE(ecovec_lcd_modes); |
1128 | 1128 | ||
1129 | gpio_set_value(GPIO_PTR1, 1); | 1129 | gpio_set_value(GPIO_PTR1, 1); |
1130 | 1130 | ||