diff options
Diffstat (limited to 'drivers/tty/nozomi.c')
-rw-r--r-- | drivers/tty/nozomi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/tty/nozomi.c b/drivers/tty/nozomi.c index e7592f9037da..b917c9424954 100644 --- a/drivers/tty/nozomi.c +++ b/drivers/tty/nozomi.c | |||
@@ -1473,8 +1473,8 @@ static int __devinit nozomi_card_init(struct pci_dev *pdev, | |||
1473 | port->dc = dc; | 1473 | port->dc = dc; |
1474 | tty_port_init(&port->port); | 1474 | tty_port_init(&port->port); |
1475 | port->port.ops = &noz_tty_port_ops; | 1475 | port->port.ops = &noz_tty_port_ops; |
1476 | tty_dev = tty_register_device(ntty_driver, dc->index_start + i, | 1476 | tty_dev = tty_port_register_device(&port->port, ntty_driver, |
1477 | &pdev->dev); | 1477 | dc->index_start + i, &pdev->dev); |
1478 | 1478 | ||
1479 | if (IS_ERR(tty_dev)) { | 1479 | if (IS_ERR(tty_dev)) { |
1480 | ret = PTR_ERR(tty_dev); | 1480 | ret = PTR_ERR(tty_dev); |