linux_old1/drivers/isdn/capi
Jiri Slaby 734cc17838 TTY: use tty_port_register_device
Currently we have no way to assign tty->port while performing tty
installation. There are two ways to provide the link tty_struct =>
tty_port. Either by calling tty_port_install from tty->ops->install or
tty_port_register_device called instead of tty_register_device when
the device is being set up after connected.

In this patch we modify most of the drivers to do the latter. When the
drivers use tty_register_device and we have tty_port already, we
switch to tty_port_register_device. So we have the tty_struct =>
tty_port link for free for those.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-08-13 16:50:19 -07:00
..
Kconfig capi: Perform scheduled capifs removal 2011-04-06 14:43:33 -07:00
Makefile capi: Perform scheduled capifs removal 2011-04-06 14:43:33 -07:00
capi.c TTY: use tty_port_register_device 2012-08-13 16:50:19 -07:00
capidrv.c isdn/capi: fix readability damage 2012-05-07 22:37:57 -04:00
capidrv.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
capilib.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
capiutil.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
kcapi.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
kcapi.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
kcapi_proc.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00