diff options
author | Jiri Slaby <jslaby@suse.cz> | 2012-08-08 22:26:41 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-08-13 16:45:38 -0700 |
commit | 21aca2fa00259f781d228496631b61dbb4274e90 (patch) | |
tree | 825e2b2ce47f55c27948112e89238c2a2a831f48 /drivers/tty/tty_io.c | |
parent | 7f0bc6a68ed93f3b4ad77b94df5ef32446c583e3 (diff) |
TTY: pty, switch to tty_alloc_driver
Switch to the new driver allocation interface, as this is one of the
special call-sites. Here, we need TTY_DRIVER_DYNAMIC_ALLOC to not
allocate tty_driver->ports, cdevs and potentially other structures
because we reserve too many lines in pty. Instead, it provides the
tty_port<->tty_struct link in tty->ops->install already.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/tty_io.c')
0 files changed, 0 insertions, 0 deletions