aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/video/console/fbcon.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/video/console/fbcon.c b/drivers/video/console/fbcon.c
index 2cedb4991d49..23108affd12e 100644
--- a/drivers/video/console/fbcon.c
+++ b/drivers/video/console/fbcon.c
@@ -2795,7 +2795,7 @@ static int fbcon_scrolldelta(struct vc_data *vc, int lines)
2795{ 2795{
2796 struct fb_info *info = registered_fb[con2fb_map[fg_console]]; 2796 struct fb_info *info = registered_fb[con2fb_map[fg_console]];
2797 struct fbcon_ops *ops = info->fbcon_par; 2797 struct fbcon_ops *ops = info->fbcon_par;
2798 struct display *p = &fb_display[fg_console]; 2798 struct display *disp = &fb_display[fg_console];
2799 int offset, limit, scrollback_old; 2799 int offset, limit, scrollback_old;
2800 2800
2801 if (softback_top) { 2801 if (softback_top) {
@@ -2833,7 +2833,7 @@ static int fbcon_scrolldelta(struct vc_data *vc, int lines)
2833 logo_shown = FBCON_LOGO_CANSHOW; 2833 logo_shown = FBCON_LOGO_CANSHOW;
2834 } 2834 }
2835 fbcon_cursor(vc, CM_ERASE | CM_SOFTBACK); 2835 fbcon_cursor(vc, CM_ERASE | CM_SOFTBACK);
2836 fbcon_redraw_softback(vc, p, lines); 2836 fbcon_redraw_softback(vc, disp, lines);
2837 fbcon_cursor(vc, CM_DRAW | CM_SOFTBACK); 2837 fbcon_cursor(vc, CM_DRAW | CM_SOFTBACK);
2838 return 0; 2838 return 0;
2839 } 2839 }
@@ -2855,9 +2855,9 @@ static int fbcon_scrolldelta(struct vc_data *vc, int lines)
2855 2855
2856 fbcon_cursor(vc, CM_ERASE); 2856 fbcon_cursor(vc, CM_ERASE);
2857 2857
2858 offset = p->yscroll - scrollback_current; 2858 offset = disp->yscroll - scrollback_current;
2859 limit = p->vrows; 2859 limit = disp->vrows;
2860 switch (p->scrollmode) { 2860 switch (disp->scrollmode) {
2861 case SCROLL_WRAP_MOVE: 2861 case SCROLL_WRAP_MOVE:
2862 info->var.vmode |= FB_VMODE_YWRAP; 2862 info->var.vmode |= FB_VMODE_YWRAP;
2863 break; 2863 break;