]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/char/pty.c
tty: kref the tty driver object
[linux-2.6-omap-h63xx.git] / drivers / char / pty.c
index 6e148ade7353ff7f6c4787ebf13113fe574cec87..0fdfa05171400cf0dd82c1571f99a5f0af34e210 100644 (file)
@@ -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);