aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/uvesafb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/uvesafb.c b/drivers/video/uvesafb.c
index 93361656316c..c4f4d7616317 100644
--- a/drivers/video/uvesafb.c
+++ b/drivers/video/uvesafb.c
@@ -885,7 +885,7 @@ static int __devinit uvesafb_vbe_init_mode(struct fb_info *info)
885 } 885 }
886 886
887 /* fb_find_mode() failed */ 887 /* fb_find_mode() failed */
888 if (i == 0 || i >= 3) { 888 if (i == 0) {
889 info->var.xres = 640; 889 info->var.xres = 640;
890 info->var.yres = 480; 890 info->var.yres = 480;
891 mode = (struct fb_videomode *) 891 mode = (struct fb_videomode *)