From: Jiri Slaby Date: Wed, 8 Aug 2012 20:26:42 +0000 (+0200) Subject: TTY: move allocations to tty_alloc_driver X-Git-Tag: omap-cleanup-sparseirq-for-v3.7~121 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16a02081baa15becdb7d6460659e7832e6524d93;p=pandora-kernel.git TTY: move allocations to tty_alloc_driver So now, that we have flags and know everything needed, keep a promise and move all the tables and ports allocation from tty_register_driver to tty_alloc_driver. Not only that it makes sense, but we need this for tty_port_link_device which needs tty_driver->ports but is to be called before tty_register_driver. Signed-off-by: Jiri Slaby Acked-by: Alan Cox Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed