diff options
author | Alan Cox <alan@redhat.com> | 2008-10-13 11:42:09 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-13 18:51:42 +0200 |
commit | 7d7b93c1452f381350dbaf276a63357fa6559e6d (patch) | |
tree | 02ce0c37e7fea66d1e8af20111d92171bfc0ff1d /drivers/char/pty.c | |
parent | tty: Clean up the tty_init_dev changes further (diff) | |
download | linux-7d7b93c1452f381350dbaf276a63357fa6559e6d.tar.xz linux-7d7b93c1452f381350dbaf276a63357fa6559e6d.zip |
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 6e148ade7353..0fdfa0517140 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); |