diff options
Diffstat (limited to 'drivers/tty/ipwireless/tty.c')
-rw-r--r-- | drivers/tty/ipwireless/tty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/ipwireless/tty.c b/drivers/tty/ipwireless/tty.c index f8b5fa0093a3..160f0ad9589d 100644 --- a/drivers/tty/ipwireless/tty.c +++ b/drivers/tty/ipwireless/tty.c | |||
@@ -476,7 +476,7 @@ static int add_tty(int j, | |||
476 | mutex_init(&ttys[j]->ipw_tty_mutex); | 476 | mutex_init(&ttys[j]->ipw_tty_mutex); |
477 | tty_port_init(&ttys[j]->port); | 477 | tty_port_init(&ttys[j]->port); |
478 | 478 | ||
479 | tty_register_device(ipw_tty_driver, j, NULL); | 479 | tty_port_register_device(&ttys[j]->port, ipw_tty_driver, j, NULL); |
480 | ipwireless_associate_network_tty(network, channel_idx, ttys[j]); | 480 | ipwireless_associate_network_tty(network, channel_idx, ttys[j]); |
481 | 481 | ||
482 | if (secondary_channel_idx != -1) | 482 | if (secondary_channel_idx != -1) |