diff options
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/console/fbcon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/console/fbcon.c b/drivers/video/console/fbcon.c index da91bb16da8a..93a080e827cc 100644 --- a/drivers/video/console/fbcon.c +++ b/drivers/video/console/fbcon.c | |||
@@ -2977,8 +2977,8 @@ static void fbcon_set_all_vcs(struct fb_info *info) | |||
2977 | p = &fb_display[vc->vc_num]; | 2977 | p = &fb_display[vc->vc_num]; |
2978 | set_blitting_type(vc, info); | 2978 | set_blitting_type(vc, info); |
2979 | var_to_display(p, &info->var, info); | 2979 | var_to_display(p, &info->var, info); |
2980 | cols = FBCON_SWAP(p->rotate, info->var.xres, info->var.yres); | 2980 | cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); |
2981 | rows = FBCON_SWAP(p->rotate, info->var.yres, info->var.xres); | 2981 | rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); |
2982 | cols /= vc->vc_font.width; | 2982 | cols /= vc->vc_font.width; |
2983 | rows /= vc->vc_font.height; | 2983 | rows /= vc->vc_font.height; |
2984 | vc_resize(vc, cols, rows); | 2984 | vc_resize(vc, cols, rows); |