linux-sg2042/drivers/mmc/card
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 mmc: Improve MMC_TEST config text. 2011-03-15 13:48:56 -04:00
Makefile mmc: Makefile: Fix EXTRA_CFLAGS assignment 2010-10-23 21:11:15 +08:00
block.c mmc: block: replace __blk_end_request() with blk_end_request() 2012-07-10 23:04:05 -04:00
mmc_test.c MMC highlights for 3.3: 2012-01-13 20:41:15 -08:00
queue.c mmc: queue: remove redundant memsets 2012-05-09 10:10:46 -04:00
queue.h mmc: block: add handling for two parallel block requests in issue_rw_rq 2011-07-20 17:21:15 -04:00
sdio_uart.c TTY: use tty_port_register_device 2012-08-13 16:50:19 -07:00