diff options
author | Alan Cox <alan@redhat.com> | 2008-10-13 10:42:09 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-13 09:51:42 -0700 |
commit | 7d7b93c1452f381350dbaf276a63357fa6559e6d (patch) | |
tree | 02ce0c37e7fea66d1e8af20111d92171bfc0ff1d /drivers/char/pty.c | |
parent | 99f1fe189daf8e99a847e420567e49dd7ee2aae7 (diff) | |
download | op-kernel-dev-7d7b93c1452f381350dbaf276a63357fa6559e6d.zip op-kernel-dev-7d7b93c1452f381350dbaf276a63357fa6559e6d.tar.gz |
tty: kref the tty driver object
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/pty.c')
-rw-r--r-- | drivers/char/pty.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/char/pty.c b/drivers/char/pty.c index 6e148ad..0fdfa05 100644 --- a/drivers/char/pty.c +++ b/drivers/char/pty.c @@ -571,8 +571,11 @@ static void __init unix98_pty_init(void) if (tty_register_driver(pts_driver)) panic("Couldn't register Unix98 pts driver"); + /* FIXME: WTF */ +#if 0 pty_table[1].data = &ptm_driver->refcount; - register_sysctl_table(pty_root_table); +#endif + register_sysctl_table(pty_root_table); /* Now create the /dev/ptmx special device */ tty_default_fops(&ptmx_fops); |