Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 284865
b: refs/heads/master
c: 109782e
h: refs/heads/master
i:
  284863: 63e0fb1
v: v3
  • Loading branch information
Rusty Russell authored and Florian Tobias Schandinat committed Dec 19, 2011
1 parent d227041 commit b47f9b8
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: 00f1f199eaab5589aed653dec953dd57d6c9bcda
refs/heads/master: 109782ec8d2e1886f80be90a295361c1a86a51df
6 changes: 3 additions & 3 deletions trunk/drivers/video/i810/i810_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ static int vyres __devinitdata;
static int sync __devinitdata;
static int extvga __devinitdata;
static int dcolor __devinitdata;
static int ddc3 __devinitdata = 2;
static bool ddc3 __devinitdata;

/*------------------------------------------------------------*/

Expand Down Expand Up @@ -1776,7 +1776,7 @@ static void __devinit i810_init_defaults(struct i810fb_par *par,
if (sync)
par->dev_flags |= ALWAYS_SYNC;

par->ddc_num = ddc3;
par->ddc_num = (ddc3 ? 3 : 2);

if (bpp < 8)
bpp = 8;
Expand Down Expand Up @@ -1999,7 +1999,7 @@ static int __devinit i810fb_setup(char *options)
else if (!strncmp(this_opt, "dcolor", 6))
dcolor = 1;
else if (!strncmp(this_opt, "ddc3", 4))
ddc3 = 3;
ddc3 = true;
else
mode_option = this_opt;
}
Expand Down

0 comments on commit b47f9b8

Please sign in to comment.