summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexander Viro <viro@www.linux.org.uk>2003-06-11 07:41:02 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2003-06-11 07:41:02 -0700
commit0835153fc18fdaf0764a0c077df4fc9976df0e74 (patch)
tree2539c5da5fa567e9cf0bac58fd454126cccd872c /include
parenta689e686b140e6e89656e91ef058d5b82e73d641 (diff)
[PATCH] tty_driver refcounting
->table[], ->termios[] and ->locked_termios[] allocated dynamically in tty_register_driver() and freed in tty_unregister_driver(). Per-driver arrays gone.
Diffstat (limited to 'include')
-rw-r--r--include/linux/tty_driver.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/tty_driver.h b/include/linux/tty_driver.h
index 07aba457f214..a3a175aea96e 100644
--- a/include/linux/tty_driver.h
+++ b/include/linux/tty_driver.h
@@ -141,7 +141,7 @@ struct tty_driver {
/*
* Pointer to the tty data structures
*/
- struct tty_struct **table;
+ struct tty_struct **ttys;
struct termios **termios;
struct termios **termios_locked;
void *driver_state; /* only used for the PTY driver */