linux/drivers/staging/ipack
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
..
bridges Staging: ipack/bridges/tpci200: remove unneeded lock in irq handler 2012-06-25 10:50:00 -07:00
devices TTY: use tty_port_register_device 2012-08-13 16:50:19 -07:00
Kconfig Staging: ipack: added more info in Kconfig's help about ipack 2012-05-14 13:41:29 -07:00
Makefile Staging: ipack: add support for IP-OCTAL mezzanine board 2012-05-09 14:16:51 -07:00
TODO Staging: ipack: change naming convention in TODO file 2012-07-17 10:32:10 -07:00
ipack.c Staging: ipack: remove pr_fmt definition. 2012-06-12 10:59:26 -07:00
ipack.h Staging: ipack: remove board_name and bus_name fields from struct ipack_device 2012-05-18 17:36:01 -07:00