tty: n_gsm: expose gsmtty device nodes at ldisc open time
authorRuss Gorby <russ.gorby@intel.com>
Tue, 14 Jun 2011 20:35:32 +0000 (13:35 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Jul 2011 22:33:11 +0000 (15:33 -0700)
commitd50f6dcaf22a3234a65ae4f6087173e66b7fff56
tree31ebf5b0c30438942ba541cb442984321c882109
parent20ae6d0b307963416db0e8433602e5d5c95e942b
tty: n_gsm: expose gsmtty device nodes at ldisc open time

The n_gsm driver being an ldisc, does not provide a convenient method
e.g. udev to create the tty device nodes automatically when the ldisc
is opened.

The TTY device nodes are now created via calls to tty_register_device
from the ldisc open.

Signed-off-by: Russ Gorby <russ.gorby@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/tty/n_gsm.c