summaryrefslogtreecommitdiffstats
path: root/include/linux/tty_driver.h
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2012-08-08 22:26:42 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-08-13 16:45:38 -0700
commit16a02081baa15becdb7d6460659e7832e6524d93 (patch)
tree8bd34de93db9a2c225241b1dedf7394baaa6819e /include/linux/tty_driver.h
parent21aca2fa00259f781d228496631b61dbb4274e90 (diff)
downloadblackbird-op-linux-16a02081baa15becdb7d6460659e7832e6524d93.tar.gz
blackbird-op-linux-16a02081baa15becdb7d6460659e7832e6524d93.zip
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
OpenPOWER on IntegriCloud