TTY: add ports array to tty_driver
authorJiri Slaby <jslaby@suse.cz>
Mon, 4 Jun 2012 11:35:36 +0000 (13:35 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 14 Jun 2012 00:30:54 +0000 (17:30 -0700)
commit04831dc154df9b83c3e5fd54b18448da507871f7
tree45b7ea618adcb9a7e8a009d10d5c9910916d3a9e
parent9bb8a3d4109f3b267cca9f6f071e2298eed4f593
TTY: add ports array to tty_driver

It will hold tty_port structures for all drivers which do not want to
define tty->ops->install hook.

We ignore PTY here because it wants 1 million lines and it installs
tty_port in ->install anyway.

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