TTY: n_gsm, use tty_port_install
authorJiri Slaby <jslaby@suse.cz>
Tue, 7 Aug 2012 19:47:28 +0000 (21:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Aug 2012 20:27:50 +0000 (13:27 -0700)
commit86176ed905454e568539c77e0cba5759085830bb
tree27b0e14b29d496859488cddb654b80e0f4fce82b
parent3dd332c553996eec2593110b05abf8a4819b5c28
TTY: n_gsm, use tty_port_install

We need to link a port to a tty in install. And since dlci is
allocated even in open, we need to create gsmtty_install, allocate
dlci there and create also the link.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/n_gsm.c