summaryrefslogtreecommitdiff
path: root/include/linux/tty_driver.h
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2012-08-09 00:26:42 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-08-14 03:45:38 +0400
commit16a02081baa15becdb7d6460659e7832e6524d93 (patch)
tree8bd34de93db9a2c225241b1dedf7394baaa6819e /include/linux/tty_driver.h
parent21aca2fa00259f781d228496631b61dbb4274e90 (diff)
downloadlinux-16a02081baa15becdb7d6460659e7832e6524d93.tar.xz
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 <jslaby@suse.cz> Acked-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/tty_driver.h')
0 files changed, 0 insertions, 0 deletions