]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/video/s3c2410fb.c
KVM: Portability: MMU initialization and teardown split
[linux-2.6-omap-h63xx.git] / drivers / video / s3c2410fb.c
index ad35033f1a48947832f8896ed3db0c9936344d06..b3c31d9dc591bc1c8e4780e9e086ec5254834a32 100644 (file)
@@ -488,7 +488,7 @@ static int s3c2410fb_set_par(struct fb_info *info)
                break;
        }
 
-       info->fix.line_length = (var->width * var->bits_per_pixel) / 8;
+       info->fix.line_length = (var->xres_virtual * var->bits_per_pixel) / 8;
 
        /* activate this new configuration */