Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 317972
b: refs/heads/master
c: 03e9e70
h: refs/heads/master
v: v3
  • Loading branch information
Javier M. Mellid authored and Greg Kroah-Hartman committed Jul 17, 2012
1 parent 4b26fb0 commit bc8d2a9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 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: 013db67415d1914da2c438ab20d8d4bd4def1fa4
refs/heads/master: 03e9e7091780e22f922e155ec40faf596fad335f
13 changes: 4 additions & 9 deletions trunk/drivers/staging/sm7xxfb/sm7xxfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -756,13 +756,8 @@ static inline void sm7xx_init_hw(void)
outb_p(0x11, 0x3c5);
}

/*
* sm712vga_setup - process command line options, get vga parameter
* @options: string of options
* Returns zero.
*
*/
static int __init sm712vga_setup(char *options)
/* process command line options, get vga parameter */
static int __init sm7xx_vga_setup(char *options)
{
int i;

Expand All @@ -773,7 +768,7 @@ static int __init sm712vga_setup(char *options)
smtc_scr_info.lfb_height = 0;
smtc_scr_info.lfb_depth = 0;

pr_debug("sm712vga_setup = %s\n", options);
pr_debug("sm7xx_vga_setup = %s\n", options);

for (i = 0; i < ARRAY_SIZE(vesa_mode_table); i++) {
if (strstr(options, vesa_mode_table[i].index)) {
Expand All @@ -786,7 +781,7 @@ static int __init sm712vga_setup(char *options)

return -1;
}
__setup("vga=", sm712vga_setup);
__setup("vga=", sm7xx_vga_setup);

static int __devinit smtcfb_pci_probe(struct pci_dev *pdev,
const struct pci_device_id *ent)
Expand Down

0 comments on commit bc8d2a9

Please sign in to comment.