aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/intelfb
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/intelfb')
-rw-r--r--drivers/video/intelfb/intelfbdrv.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/video/intelfb/intelfbdrv.c b/drivers/video/intelfb/intelfbdrv.c
index dfe2abc63aad..85bf55897f77 100644
--- a/drivers/video/intelfb/intelfbdrv.c
+++ b/drivers/video/intelfb/intelfbdrv.c
@@ -1059,8 +1059,7 @@ intelfb_init_var(struct intelfb_info *dinfo)
1059 "intelfb: looking for mode in global " 1059 "intelfb: looking for mode in global "
1060 "database "); 1060 "database ");
1061 msrc = fb_find_mode(var, dinfo->info, mode, 1061 msrc = fb_find_mode(var, dinfo->info, mode,
1062 vesa_modes, 1062 NULL, 0, NULL, 0);
1063 VESA_MODEDB_SIZE, NULL, 0);
1064 1063
1065 if (msrc) 1064 if (msrc)
1066 msrc |= 8; 1065 msrc |= 8;
@@ -1070,8 +1069,7 @@ intelfb_init_var(struct intelfb_info *dinfo)
1070 1069
1071 if (!msrc) { 1070 if (!msrc) {
1072 msrc = fb_find_mode(var, dinfo->info, PREFERRED_MODE, 1071 msrc = fb_find_mode(var, dinfo->info, PREFERRED_MODE,
1073 vesa_modes, VESA_MODEDB_SIZE, 1072 NULL, 0, NULL, 0);
1074 NULL, 0);
1075 } 1073 }
1076 } 1074 }
1077 1075