diff options
author | Jiri Slaby <jslaby@suse.cz> | 2012-06-04 07:35:36 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-13 20:30:54 -0400 |
commit | 04831dc154df9b83c3e5fd54b18448da507871f7 (patch) | |
tree | 45b7ea618adcb9a7e8a009d10d5c9910916d3a9e /include/linux/tty_driver.h | |
parent | 9bb8a3d4109f3b267cca9f6f071e2298eed4f593 (diff) |
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>
Diffstat (limited to 'include/linux/tty_driver.h')
-rw-r--r-- | include/linux/tty_driver.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/tty_driver.h b/include/linux/tty_driver.h index 6e6dbb7447b6..04419c141b00 100644 --- a/include/linux/tty_driver.h +++ b/include/linux/tty_driver.h | |||
@@ -313,6 +313,7 @@ struct tty_driver { | |||
313 | * Pointer to the tty data structures | 313 | * Pointer to the tty data structures |
314 | */ | 314 | */ |
315 | struct tty_struct **ttys; | 315 | struct tty_struct **ttys; |
316 | struct tty_port **ports; | ||
316 | struct ktermios **termios; | 317 | struct ktermios **termios; |
317 | void *driver_state; | 318 | void *driver_state; |
318 | 319 | ||