From: Jiri Slaby Date: Wed, 8 Aug 2012 20:26:41 +0000 (+0200) Subject: TTY: pty, switch to tty_alloc_driver X-Git-Tag: omap-cleanup-sparseirq-for-v3.7~122 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21aca2fa00259f781d228496631b61dbb4274e90;p=pandora-kernel.git 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 Acked-by: Alan Cox Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed