diff options
Diffstat (limited to '0303-revert-fbcon-remove-no-op-fbcon_set_origin.patch')
-rw-r--r-- | 0303-revert-fbcon-remove-no-op-fbcon_set_origin.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/0303-revert-fbcon-remove-no-op-fbcon_set_origin.patch b/0303-revert-fbcon-remove-no-op-fbcon_set_origin.patch new file mode 100644 index 000000000000..6491c541e883 --- /dev/null +++ b/0303-revert-fbcon-remove-no-op-fbcon_set_origin.patch @@ -0,0 +1,31 @@ +--- b/drivers/video/fbdev/core/fbcon.c ++++ a/drivers/video/fbdev/core/fbcon.c +@@ -163,6 +163,8 @@ + + #define advance_row(p, delta) (unsigned short *)((unsigned long)(p) + (delta) * vc->vc_size_row) + ++static int fbcon_set_origin(struct vc_data *); ++ + static int fbcon_cursor_noblink; + + #define divides(a, b) ((!(a) || (b)%(a)) ? 0 : 1) +@@ -2633,6 +2635,11 @@ + } + } + ++static int fbcon_set_origin(struct vc_data *vc) ++{ ++ return 0; ++} ++ + void fbcon_suspended(struct fb_info *info) + { + struct vc_data *vc = NULL; +@@ -3103,6 +3110,7 @@ + .con_font_default = fbcon_set_def_font, + .con_font_copy = fbcon_copy_font, + .con_set_palette = fbcon_set_palette, ++ .con_set_origin = fbcon_set_origin, + .con_invert_region = fbcon_invert_region, + .con_screen_pos = fbcon_screen_pos, + .con_getxy = fbcon_getxy, |