diff options
Diffstat (limited to 'drivers/video/console/fbcon.c')
-rw-r--r-- | drivers/video/console/fbcon.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/video/console/fbcon.c b/drivers/video/console/fbcon.c index 5ff51cd0a2a9..3cf1b61ff1f8 100644 --- a/drivers/video/console/fbcon.c +++ b/drivers/video/console/fbcon.c | |||
@@ -2715,7 +2715,8 @@ static void fbcon_new_modelist(struct fb_info *info) | |||
2715 | continue; | 2715 | continue; |
2716 | vc = vc_cons[i].d; | 2716 | vc = vc_cons[i].d; |
2717 | display_to_var(&var, &fb_display[i]); | 2717 | display_to_var(&var, &fb_display[i]); |
2718 | mode = fb_find_nearest_mode(&var, &info->modelist); | 2718 | mode = fb_find_nearest_mode(fb_display[i].mode, |
2719 | &info->modelist); | ||
2719 | fb_videomode_to_var(&var, mode); | 2720 | fb_videomode_to_var(&var, mode); |
2720 | 2721 | ||
2721 | if (vc) | 2722 | if (vc) |