diff options
Diffstat (limited to 'drivers/video/fbmem.c')
-rw-r--r-- | drivers/video/fbmem.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/video/fbmem.c b/drivers/video/fbmem.c index 42e303ff862a..a43442341ddd 100644 --- a/drivers/video/fbmem.c +++ b/drivers/video/fbmem.c | |||
@@ -877,13 +877,13 @@ fb_pan_display(struct fb_info *info, struct fb_var_screeninfo *var) | |||
877 | 877 | ||
878 | if ((err = info->fbops->fb_pan_display(var, info))) | 878 | if ((err = info->fbops->fb_pan_display(var, info))) |
879 | return err; | 879 | return err; |
880 | info->var.xoffset = var->xoffset; | 880 | info->var.xoffset = var->xoffset; |
881 | info->var.yoffset = var->yoffset; | 881 | info->var.yoffset = var->yoffset; |
882 | if (var->vmode & FB_VMODE_YWRAP) | 882 | if (var->vmode & FB_VMODE_YWRAP) |
883 | info->var.vmode |= FB_VMODE_YWRAP; | 883 | info->var.vmode |= FB_VMODE_YWRAP; |
884 | else | 884 | else |
885 | info->var.vmode &= ~FB_VMODE_YWRAP; | 885 | info->var.vmode &= ~FB_VMODE_YWRAP; |
886 | return 0; | 886 | return 0; |
887 | } | 887 | } |
888 | 888 | ||
889 | static int fb_check_caps(struct fb_info *info, struct fb_var_screeninfo *var, | 889 | static int fb_check_caps(struct fb_info *info, struct fb_var_screeninfo *var, |