Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 161748
b: refs/heads/master
c: 7286565
h: refs/heads/master
v: v3
  • Loading branch information
Roel Kluin authored and Benjamin Herrenschmidt committed Aug 20, 2009
1 parent 908db3b commit 8941f8d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 6826a57d1abc8ac9f59b24f1a008554c6560a995
refs/heads/master: 728656506447b3b349d082a7fb99445f9cb0caaa
3 changes: 2 additions & 1 deletion trunk/drivers/char/hvsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1230,11 +1230,12 @@ static struct tty_driver *hvsi_console_device(struct console *console,

static int __init hvsi_console_setup(struct console *console, char *options)
{
struct hvsi_struct *hp = &hvsi_ports[console->index];
struct hvsi_struct *hp;
int ret;

if (console->index < 0 || console->index >= hvsi_count)
return -1;
hp = &hvsi_ports[console->index];

/* give the FSP a chance to change the baud rate when we re-open */
hvsi_close_protocol(hp);
Expand Down

0 comments on commit 8941f8d

Please sign in to comment.