diff options
| author | Alexander Viro <viro@www.linux.org.uk> | 2003-06-11 07:41:02 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2003-06-11 07:41:02 -0700 |
| commit | 0835153fc18fdaf0764a0c077df4fc9976df0e74 (patch) | |
| tree | 2539c5da5fa567e9cf0bac58fd454126cccd872c /include/linux/tty_driver.h | |
| parent | a689e686b140e6e89656e91ef058d5b82e73d641 (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/linux/tty_driver.h')
| -rw-r--r-- | include/linux/tty_driver.h | 2 |
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 */ |
