View | Details | Raw Unified | Return to bug 619021
Collapse All | Expand All

(-)a/drivers/char/nozomi.c (-2 / +2 lines)
Lines 1612-1617 static int ntty_install(struct tty_driver *driver, struct tty_struct *tty) Link Here
1612
	if (ret == 0) {
1612
	if (ret == 0) {
1613
		tty_driver_kref_get(driver);
1613
		tty_driver_kref_get(driver);
1614
		tty->count++;
1614
		tty->count++;
1615
		tty->driver_data = port;
1615
		driver->ttys[tty->index] = tty;
1616
		driver->ttys[tty->index] = tty;
1616
	}
1617
	}
1617
	return ret;
1618
	return ret;
Lines 1640-1646 static int ntty_activate(struct tty_port *tport, struct tty_struct *tty) Link Here
1640
1641
1641
static int ntty_open(struct tty_struct *tty, struct file *filp)
1642
static int ntty_open(struct tty_struct *tty, struct file *filp)
1642
{
1643
{
1643
	struct port *port = get_port_by_tty(tty);
1644
	struct port *port = tty->driver_data;
1644
	return tty_port_open(&port->port, tty, filp);
1645
	return tty_port_open(&port->port, tty, filp);
1645
}
1646
}
1646
1647
1647
- 

Return to bug 619021