diff options
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2012-08-13 07:56:46 -0400 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2012-11-21 09:50:00 -0500 |
commit | 352d6138779e22c5340803d5a32fc332ad2e5e1d (patch) | |
tree | 685fb936fb0e4153785c006e27f52c0ecaa18d66 /drivers/video/sh_mobile_lcdcfb.c | |
parent | 856e8dfe6efed7cf35bc6bf827f030a164bee083 (diff) |
fbdev: sh_mobile_lcdc: Rename mode argument to modes
The sh_mobile_lcdc_channel_fb_init() mode argument is used to pass a
list of modes, rename it to modes.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'drivers/video/sh_mobile_lcdcfb.c')
-rw-r--r-- | drivers/video/sh_mobile_lcdcfb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/video/sh_mobile_lcdcfb.c b/drivers/video/sh_mobile_lcdcfb.c index 7375dbf08c78..82b53f7d11b9 100644 --- a/drivers/video/sh_mobile_lcdcfb.c +++ b/drivers/video/sh_mobile_lcdcfb.c | |||
@@ -2187,7 +2187,7 @@ sh_mobile_lcdc_channel_fb_cleanup(struct sh_mobile_lcdc_chan *ch) | |||
2187 | 2187 | ||
2188 | static int __devinit | 2188 | static int __devinit |
2189 | sh_mobile_lcdc_channel_fb_init(struct sh_mobile_lcdc_chan *ch, | 2189 | sh_mobile_lcdc_channel_fb_init(struct sh_mobile_lcdc_chan *ch, |
2190 | const struct fb_videomode *mode, | 2190 | const struct fb_videomode *modes, |
2191 | unsigned int num_modes) | 2191 | unsigned int num_modes) |
2192 | { | 2192 | { |
2193 | struct sh_mobile_lcdc_priv *priv = ch->lcdc; | 2193 | struct sh_mobile_lcdc_priv *priv = ch->lcdc; |
@@ -2213,7 +2213,7 @@ sh_mobile_lcdc_channel_fb_init(struct sh_mobile_lcdc_chan *ch, | |||
2213 | info->pseudo_palette = &ch->pseudo_palette; | 2213 | info->pseudo_palette = &ch->pseudo_palette; |
2214 | info->par = ch; | 2214 | info->par = ch; |
2215 | 2215 | ||
2216 | fb_videomode_to_modelist(mode, num_modes, &info->modelist); | 2216 | fb_videomode_to_modelist(modes, num_modes, &info->modelist); |
2217 | 2217 | ||
2218 | ret = fb_alloc_cmap(&info->cmap, PALETTE_NR, 0); | 2218 | ret = fb_alloc_cmap(&info->cmap, PALETTE_NR, 0); |
2219 | if (ret < 0) { | 2219 | if (ret < 0) { |
@@ -2247,7 +2247,7 @@ sh_mobile_lcdc_channel_fb_init(struct sh_mobile_lcdc_chan *ch, | |||
2247 | * default. | 2247 | * default. |
2248 | */ | 2248 | */ |
2249 | var = &info->var; | 2249 | var = &info->var; |
2250 | fb_videomode_to_var(var, mode); | 2250 | fb_videomode_to_var(var, modes); |
2251 | var->width = ch->display.width; | 2251 | var->width = ch->display.width; |
2252 | var->height = ch->display.height; | 2252 | var->height = ch->display.height; |
2253 | var->xres_virtual = ch->xres_virtual; | 2253 | var->xres_virtual = ch->xres_virtual; |