diff options
| author | Alexander Viro <viro@www.linux.org.uk> | 2003-06-11 07:40:51 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2003-06-11 07:40:51 -0700 |
| commit | a689e686b140e6e89656e91ef058d5b82e73d641 (patch) | |
| tree | 076414269194efcdf2a270b30b4447db390a2ab3 /include | |
| parent | 4b19f739f33fea1e5d63424072dbaf0fa949274f (diff) | |
[PATCH] tty_driver refcounting
->refcount switched from int * to int. Per-driver variables gone since we had
switched from int foo = 0; driver.refcount = &foo; to driver.refcount = 0;
Diffstat (limited to 'include')
| -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 5cf6af6aa51b..07aba457f214 100644 --- a/include/linux/tty_driver.h +++ b/include/linux/tty_driver.h @@ -134,7 +134,7 @@ struct tty_driver { short subtype; /* subtype of tty driver */ struct termios init_termios; /* Initial termios */ int flags; /* tty driver flags */ - int *refcount; /* for loadable tty drivers */ + int refcount; /* for loadable tty drivers */ struct proc_dir_entry *proc_entry; /* /proc fs entry */ struct tty_driver *other; /* only used for the PTY driver */ |
