diff options
author | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2011-08-24 09:20:02 +0000 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2011-08-24 09:20:02 +0000 |
commit | 3c470f33e6a1df1398143c1f3dd619f675602472 (patch) | |
tree | f9d7c0ea938193599e815a4e4691ba331f75a68c /drivers/video/tridentfb.c | |
parent | fcb8ce5cfe30ca9ca5c9a79cdfe26d1993e65e0c (diff) | |
parent | 0d5c6ca30bb0190c0a63fd6452c71051fb6bfbe4 (diff) |
Merge branch 'pan-fixes' of git://linuxtv.org/pinchartl/fbdev into fbdev-next
Diffstat (limited to 'drivers/video/tridentfb.c')
-rw-r--r-- | drivers/video/tridentfb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/tridentfb.c b/drivers/video/tridentfb.c index c6c77562839..34cf019bba4 100644 --- a/drivers/video/tridentfb.c +++ b/drivers/video/tridentfb.c @@ -987,8 +987,8 @@ static int tridentfb_pan_display(struct fb_var_screeninfo *var, unsigned int offset; debug("enter\n"); - offset = (var->xoffset + (var->yoffset * var->xres_virtual)) - * var->bits_per_pixel / 32; + offset = (var->xoffset + (var->yoffset * info->var.xres_virtual)) + * info->var.bits_per_pixel / 32; set_screen_start(par, offset); debug("exit\n"); return 0; |