diff options
| author | Alexander Viro <viro@www.linux.org.uk> | 2003-04-23 04:18:48 -0700 |
|---|---|---|
| committer | Christoph Hellwig <hch@lst.de> | 2003-04-23 04:18:48 -0700 |
| commit | 07462df3687e6a58846911460f4f4833fbe3d587 (patch) | |
| tree | 1150b6d6b46e656d36e60cab8d01ef12127e8924 /include | |
| parent | 2dca0cd5b1ad40e8ebbc0220d3e3a21f3d3348da (diff) | |
[PATCH] tty cleanups (5/12)
new field - tty->tty_name;
initialized to <driver->name><tty index+driver->base_name>
when we allocate tty_struct. Drivers code switched to use of that
beast (in debugging printks, mostly). Large, but trivial.
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/tty.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/tty.h b/include/linux/tty.h index 1ee727bd536c..f48a081bf8cb 100644 --- a/include/linux/tty.h +++ b/include/linux/tty.h @@ -262,6 +262,7 @@ struct tty_struct { struct tty_driver *driver; struct tty_ldisc ldisc; struct termios *termios, *termios_locked; + char name[64]; int pgrp; int session; kdev_t device; |
