Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 43797
b: refs/heads/master
c: c25623f
h: refs/heads/master
i:
  43795: 4b1c78f
v: v3
  • Loading branch information
Jordan Crouse authored and Linus Torvalds committed Dec 8, 2006
1 parent e3c9cf4 commit b644d5c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 572c04b24bd7b7e4b6a684416325cc3751fa8f45
refs/heads/master: c25623f5540694ba70af272170d67f1411be97b1
6 changes: 3 additions & 3 deletions trunk/drivers/video/modedb.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ const char *global_mode_option;
* Standard video mode definitions (taken from XFree86)
*/

#define DEFAULT_MODEDB_INDEX 0

static const struct fb_videomode modedb[] = {
{
/* 640x400 @ 70 Hz, 31.5 kHz hsync */
Expand Down Expand Up @@ -505,8 +503,10 @@ int fb_find_mode(struct fb_var_screeninfo *var,
db = modedb;
dbsize = ARRAY_SIZE(modedb);
}

if (!default_mode)
default_mode = &modedb[DEFAULT_MODEDB_INDEX];
default_mode = &db[0];

if (!default_bpp)
default_bpp = 8;

Expand Down

0 comments on commit b644d5c

Please sign in to comment.