Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 94159
b: refs/heads/master
c: cc6c549
h: refs/heads/master
i:
  94157: a6256c3
  94155: 8b06313
  94151: 7870dbb
  94143: 6eaed97
v: v3
  • Loading branch information
Krzysztof Helt authored and Linus Torvalds committed Apr 28, 2008
1 parent 8c8c8f5 commit 30f2223
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 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: cf6d880c358110f986e38114470f41908bc89a12
refs/heads/master: cc6c549c7a9808cc7a8a5afbfa54dbbd2262509d
12 changes: 6 additions & 6 deletions trunk/drivers/video/vt8623fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ static struct svga_timing_regs vt8623_timing_regs = {

/* Module parameters */

static char *mode = "640x480-8@60";
static char *mode_option = "640x480-8@60";

#ifdef CONFIG_MTRR
static int mtrr = 1;
Expand All @@ -110,8 +110,8 @@ MODULE_AUTHOR("(c) 2006 Ondrej Zajicek <santiago@crfreenet.org>");
MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("fbdev driver for integrated graphics core in VIA VT8623 [CLE266]");

module_param(mode, charp, 0644);
MODULE_PARM_DESC(mode, "Default video mode ('640x480-8@60', etc)");
module_param(mode_option, charp, 0644);
MODULE_PARM_DESC(mode_option, "Default video mode ('640x480-8@60', etc)");

#ifdef CONFIG_MTRR
module_param(mtrr, int, 0444);
Expand Down Expand Up @@ -722,10 +722,10 @@ static int __devinit vt8623_pci_probe(struct pci_dev *dev, const struct pci_devi

/* Prepare startup mode */

rc = fb_find_mode(&(info->var), info, mode, NULL, 0, NULL, 8);
rc = fb_find_mode(&(info->var), info, mode_option, NULL, 0, NULL, 8);
if (! ((rc == 1) || (rc == 2))) {
rc = -EINVAL;
dev_err(&(dev->dev), "mode %s not found\n", mode);
dev_err(&(dev->dev), "mode %s not found\n", mode_option);
goto err_find_mode;
}

Expand Down Expand Up @@ -913,7 +913,7 @@ static int __init vt8623fb_init(void)
return -ENODEV;

if (option && *option)
mode = option;
mode_option = option;
#endif

pr_debug("vt8623fb: initializing\n");
Expand Down

0 comments on commit 30f2223

Please sign in to comment.