Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 207939
b: refs/heads/master
c: bf9c1fc
h: refs/heads/master
i:
  207937: 87126cd
  207935: 1dfc50f
v: v3
  • Loading branch information
Jiri Slaby authored and Greg Kroah-Hartman committed Aug 10, 2010
1 parent bdbb50d commit 653fbaf
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: ee78bb95b7bea08b7774a02073ea2bb45611a9e1
refs/heads/master: bf9c1fca9ae9a79ed209e7ab2c10b3862f3f6f72
3 changes: 2 additions & 1 deletion trunk/drivers/char/nozomi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1612,6 +1612,7 @@ static int ntty_install(struct tty_driver *driver, struct tty_struct *tty)
if (ret == 0) {
tty_driver_kref_get(driver);
tty->count++;
tty->driver_data = port;
driver->ttys[tty->index] = tty;
}
return ret;
Expand Down Expand Up @@ -1640,7 +1641,7 @@ static int ntty_activate(struct tty_port *tport, struct tty_struct *tty)

static int ntty_open(struct tty_struct *tty, struct file *filp)
{
struct port *port = get_port_by_tty(tty);
struct port *port = tty->driver_data;
return tty_port_open(&port->port, tty, filp);
}

Expand Down

0 comments on commit 653fbaf

Please sign in to comment.