diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/intelfb/intelfbdrv.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/video/intelfb/intelfbdrv.c b/drivers/video/intelfb/intelfbdrv.c index dfe2abc63aa..85bf55897f7 100644 --- a/drivers/video/intelfb/intelfbdrv.c +++ b/drivers/video/intelfb/intelfbdrv.c @@ -1059,8 +1059,7 @@ intelfb_init_var(struct intelfb_info *dinfo) "intelfb: looking for mode in global " "database "); msrc = fb_find_mode(var, dinfo->info, mode, - vesa_modes, - VESA_MODEDB_SIZE, NULL, 0); + NULL, 0, NULL, 0); if (msrc) msrc |= 8; @@ -1070,8 +1069,7 @@ intelfb_init_var(struct intelfb_info *dinfo) if (!msrc) { msrc = fb_find_mode(var, dinfo->info, PREFERRED_MODE, - vesa_modes, VESA_MODEDB_SIZE, - NULL, 0); + NULL, 0, NULL, 0); } } |